1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-26 12:55:17 +00:00
cc65/test/asm/val/jmp-indirect-success.s

19 lines
299 B
ArmAsm
Raw Normal View History

; 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:
2023-08-19 19:07:32 +00:00
lda #0
tax
jmp _exit