wdc-utils/samples/relative.asm

38 lines
338 B
NASM
Raw Normal View History

2017-01-12 17:27:32 +00:00
; test relative expressions.
module code1
globals on
externs on
branchb
nop
nop
endmod
module code2
globals on
externs on
jmp branchb
bra branchb
brl branchb
per branchb
;
nop
nop
;
jmp branchf
bra branchf
brl branchf
per branchf
endmod
module code3
globals on
externs on
branchf
nop
nop
nop
rtl
endmod