mirror of
https://github.com/fachat/xa65.git
synced 2025-04-21 23:37:12 +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
|