1
0
mirror of https://github.com/fachat/xa65.git synced 2024-07-10 11:28:56 +00:00
xa65/xa/tests/linkr/test.s
Andre Fachat a98b3770ee xa-2.3.9
2019-10-28 21:54:15 +01:00

20 lines
457 B
ArmAsm

; Actual example from man page
.word $1000
* = $1000
; this is your code at $1000
part1 rts
; this label marks the end of code
endofpart1
; DON'T PUT A NEW .word HERE!
* = $2000
.dsb (*-endofpart1), 0
; yes, set it again
* = $2000
; this is your code at $2000
part2 rts