0x10code icon indicating copy to clipboard operation
0x10code copied to clipboard

Assembler error with some string literals

Open hyperlogic opened this issue 13 years ago • 1 comments

The following program fails with the following message: "Assembler error: Label * was not defined (address 5)"

set [0x8000], 0xf041
brk
dat ": X Y * ;"

hyperlogic avatar Apr 21 '12 05:04 hyperlogic

There's a general problem with semi-colons in string literals. Here's another example:

; BUG with semi-colons in string literals
; This should print a semi-colon to the screen
SET A, [CHAR]
BOR A, 0xf000
SET [0x8000], A
BRK
:CHAR
DAT ";"

hyperlogic avatar Apr 22 '12 18:04 hyperlogic