cardiograph-computer/test-programs/referencing-addr-during-ass...

11 lines
147 B
NASM

;; Test referencing address of line being assembled
LDA *ADDR
STO $25
FHP 0 ; hop if carry set
JMP @setCarry
END
@setCarry
FTG 0
JMP ($25)