1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-15 02:29:32 +00:00
cc65/libsrc/apple2/wherey.s

17 lines
220 B
ArmAsm
Raw Normal View History

;
; Kevin Ruland
;
; unsigned char wherey (void);
;
.export _wherey
.include "apple2.inc"
_wherey:
lda CV
sec
sbc WNDTOP
ldx #$00
rts