1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-01 13:41:34 +00:00
cc65/test/asm/val/jmp-indirect-success.s

19 lines
290 B
ArmAsm

; test that jmp (indirect) on a page boundary will not give an error for non-6502 CPUs
.pc02
jmp ($10FF)
.psc02
jmp ($10FF)
.p816
jmp ($10FF)
; main always returns success (the tested issue is only whether the assembly errors)
.import _exit
.export _main
_main:
lda #0
tax
jmp _exit