1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00
cc65/test/asm/val/jmp-indirect-success.s
2023-08-19 15:07:32 -04:00

19 lines
299 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