1
0
mirror of https://github.com/fumiama/650299.git synced 2026-06-27 15:40:30 +08:00

优化代码

This commit is contained in:
源文雨
2023-03-30 15:21:48 +08:00
parent 65ed1c212a
commit cf05e44228
2 changed files with 9 additions and 5 deletions

14
99.asm
View File

@@ -6,18 +6,20 @@
_next: .word 0
.scend
.alias p $ffd2
.text
main:
ldx #9
ldy #9
txa
tay
sed
* sty $10
stx $11
* stx $11
txa
ora #$30
jsr p
lda #42
jsr p
tya
pha
ora #$30
jsr p
lda #61
@@ -38,7 +40,8 @@ main:
and #$0f
ora #$30
jsr p
ldy $10
pla
tay
dey
beq +
lda #160
@@ -51,4 +54,5 @@ main:
txa
tay
jmp ---
* rts
* cld
rts