This commit is contained in:
mrdudz
2025-06-23 17:09:06 +02:00
parent 4863a3e29b
commit 5fc15a7a60
204 changed files with 915 additions and 912 deletions

View File

@@ -5,23 +5,23 @@
;
.export popa
.importzp sp
.importzp c_sp
.macpack cpu
.proc popa
.if (.cpu .bitand ::CPU_ISET_65SC02)
lda (sp)
lda (c_sp)
.else
ldy #0 ; (2)
lda (sp),y ; (7) Read byte
lda (c_sp),y ; (7) Read byte
.endif
inc sp ; (12)
inc c_sp ; (12)
beq @L1 ; (14)
rts ; (20)
@L1: inc sp+1
@L1: inc c_sp+1
rts
.endproc