1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
cc65/libsrc/plus4/kreadst.s
uz 3470f230ae Need to import ST since it is no longer declared in plus4.inc.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5839 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-02 19:22:19 +00:00

20 lines
381 B
ArmAsm

;
; 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