SicTools icon indicating copy to clipboard operation
SicTools copied to clipboard

Literals on byte reciving mnemonics don't work

Open schtrudl opened this issue 1 year ago • 0 comments

Consider

LDCH =4

that gets assembled to:

LDCH f
f WORD 4

but that doesn't as MSB is 0. The solution is to either emit BYTE:

LDCH f
f BYTE 4

or:

	LDCH f
f	WORD 4
f2	EQU f+2

(because LDCH f+2 does not work).

All device mnemonics are affected too.

schtrudl avatar Feb 09 '25 12:02 schtrudl