mirror of
https://github.com/fachat/xa65.git
synced 2024-07-28 21:28:57 +00:00
14 lines
219 B
ArmAsm
14 lines
219 B
ArmAsm
|
; test for the xa .xl opcode that should set the XR handling to 16 bit
|
||
|
|
||
|
*=$f000
|
||
|
|
||
|
; set X/Y registers to 16 bit ...
|
||
|
rep #%00010000
|
||
|
; ... and tell the assembler about it
|
||
|
.xl
|
||
|
ldx #$1234
|
||
|
ldy #$1234
|
||
|
|
||
|
.al
|
||
|
lda #$1234
|