mirror of
https://github.com/cc65/cc65.git
synced 2024-08-16 12:29:03 +00:00
19 lines
354 B
ArmAsm
19 lines
354 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 22.11.2002
|
||
|
;
|
||
|
; READST replacement function
|
||
|
;
|
||
|
|
||
|
.export READST
|
||
|
|
||
|
.include "plus4.inc"
|
||
|
|
||
|
; 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
|
||
|
|
||
|
|