On Jun 14, 2012, at 10:20, J R wrote:

>> The : on a label is an interesting idea. But I am unsure of what "align 
>> properly" means. Do you mean to a halfword boundry?
> ===  Yes, it is an interesting idea and, IMHO, the only way to implement it 
> would be exactly like a DS0H.  It's only purpose would be to label executable 
> machine instructions, so interleaved assembler instructions would have no 
> impact.
> ===
Ouch!  Are you advocating that there should be distinct
constructs for labeling executable instructions and for
labeling data areas?  This treads perilously close to
Hungarian Notation?  Then should the assembler be able to
flag with an error or warning any branch reference to a
data area, or any reference to an executable instruction
as data?

(I'm certainly accustomed to this in HLLs:

int I

L: goto I;  /* (branch reference to a data symbol) */
I = L + 1;  /* (data reference to an executable)   */

... both are regarded as syntax errors.  But this is
assembler.)

-- gil

Reply via email to