qasm/testdata/3015-amacc.S
Kelvin Sherlock fc62d0c9e7 'a' as an operand is ignored.
Based on testing with Merlin-16+ 4.12, this seems to apply in all cases

inc a -> equivalent to inc
lda a -> equivalent to lda (bad address mode error)

if you do have an 'a' label, you need to specify the address mode, eg

lda |a, lda >a, lda <a
2021-08-31 18:08:08 -04:00

11 lines
93 B
ArmAsm

*
* explicit a operand (inc a, etc) is dropped.
*
inc a
dec a
lsr a
asl a
rol a
ror a