Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly 370 > Re: Assembler: ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 13 Topic 248 of 328
Post > Topic >>

Re: Assembler: alignment of machine instructions

by "arargh" ararghmail507NOSPAM@[EMAIL PROTECTED] Jul 13, 2005 at 06:00 PM

On Wed, 13 Jul 2005 23:13:45 +0200, "Michel Castelein"
<arcis@[EMAIL PROTECTED]
> wrote:

>A DC or DS instruction with a zero duplication factor forces boundary 
>alignment, even when the NOALIGN assembler option is in effect.
>
>At the other hand, IMHO, the assembler always aligns machine instructions
on 
>a halfword boundary.
>
>So, I'm wondering why the expansion of the SAVE macro begins with a DS
0H.
>
>That's redundant, isn't it?
>
>Or are there some historical reasons? If yes, which ones?
>
>The first one to provide me with the correct information will receive a
copy 
>of my new assembler course.

Asm F may not forced instruction alignment.  I don't remember.  it's
been 30 years.  I just looked at the MVT 21.6 save macro, and it
appears to be able to generate an odd number of bytes of data, before
the first instruction.  

It's probably still there because it was once required, and since it
works, nobody bothered or felt the need to change it.

-- 
ArarghMail507 at [drop the 'http://www.'
from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html

To reply by email, remove the garbage from the reply address.
 




 13 Posts in Topic:
Assembler: alignment of machine instructions
"Michel Castelein&qu  2005-07-13 23:13:45 
Re: Assembler: alignment of machine instructions
richgr@[EMAIL PROTECTED]   2005-07-13 21:37:48 
Re: Assembler: alignment of machine instructions
Binyamin Dissen <posti  2005-07-14 11:26:02 
Re: Assembler: alignment of machine instructions
"arargh" arargh  2005-07-13 18:00:03 
Re: Assembler: alignment of machine instructions
glen herrmannsfeldt <g  2005-07-13 21:27:03 
Re: Assembler: alignment of machine instructions
glen herrmannsfeldt <g  2005-07-19 13:43:28 
Re: Assembler: alignment of machine instructions
Binyamin Dissen <posti  2005-07-14 11:26:04 
Re: Assembler: alignment of machine instructions
"John Small" &l  2005-07-14 10:50:59 
Re: Assembler: alignment of machine instructions
glen herrmannsfeldt <g  2005-07-25 16:03:55 
Re: Assembler: alignment of machine instructions
"Michel Castelein&qu  2005-07-26 08:25:21 
Re: Assembler: alignment of machine instructions
"Sven Pran" <  2005-07-27 09:45:31 
Re: Assembler: alignment of machine instructions
beu@[EMAIL PROTECTED] (B  2005-07-27 20:50:58 
Re: Assembler: alignment of machine instructions
"Sven Pran" <  2005-07-28 00:11:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 0:43:41 CDT 2008.