mirror of
https://github.com/cc65/cc65.git
synced 2024-11-15 11:05:56 +00:00
19 lines
299 B
ArmAsm
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
|