mirror of
https://github.com/fachat/xa65.git
synced 2025-04-21 08:37:12 +00:00
12 lines
213 B
ArmAsm
12 lines
213 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
|
|
lda #$1234
|