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

@@ -6,7 +6,7 @@
;
.export tosicmp, tosicmp0
.importzp sp, sreg
.importzp c_sp, sreg
tosicmp0:
@@ -17,16 +17,16 @@ tosicmp:
stx sreg+1 ; Save ax
ldy #$00
lda (sp),y ; Get low byte
lda (c_sp),y ; Get low byte
tax
inc sp ; 5
inc c_sp ; 5
bne @L1 ; 3
inc sp+1 ; (5)
inc c_sp+1 ; (5)
@L1:
lda (sp),y ; Get high byte
inc sp ; 5
lda (c_sp),y ; Get high byte
inc c_sp ; 5
bne @L2 ; 3
inc sp+1 ; (5)
inc c_sp+1 ; (5)
; Do the compare.