BYTE assembler directive
Posted: Sat Jun 18, 2011 5:54 am
Hi,
A CBM prg Studio user (yes, there are some!) has reported the following as a bug:
MEM1 BYTE $00,00,00
MEM2 BYTE #<MEM1, #>MEM1
The first line assembles but the second one doesn't. Is this really a bug though? I can see why you might want the lo/hi byte of the label, e.g.
MEM2 BYTE <MEM1,>MEM1
but not the immediate value. Do any other assemblers accept this?
Cheers.
A CBM prg Studio user (yes, there are some!) has reported the following as a bug:
MEM1 BYTE $00,00,00
MEM2 BYTE #<MEM1, #>MEM1
The first line assembles but the second one doesn't. Is this really a bug though? I can see why you might want the lo/hi byte of the label, e.g.
MEM2 BYTE <MEM1,>MEM1
but not the immediate value. Do any other assemblers accept this?
Cheers.