mirror of
https://github.com/cc65/cc65.git
synced 2024-10-31 04:04:49 +00:00
20 lines
210 B
ArmAsm
20 lines
210 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 2003-05-02
|
||
|
;
|
||
|
; unsigned char wherex (void);
|
||
|
;
|
||
|
|
||
|
.export _wherex
|
||
|
|
||
|
.include "nes.inc"
|
||
|
|
||
|
.proc _wherex
|
||
|
|
||
|
lda CURS_X
|
||
|
ldx #$00
|
||
|
rts
|
||
|
|
||
|
.endproc
|
||
|
|
||
|
|