1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-06 15:06:07 +00:00
cc65/libsrc/plus4/kreadst.s

20 lines
381 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 22.11.2002
;
; READST replacement function
;
.export READST
.include "plus4.inc"
.importzp ST
; Read the status byte from the zero page instead of banking in the ROM
.proc READST
lda ST ; Load status
rts ; Return to caller
.endproc