1
0
mirror of https://github.com/fumiama/650299.git synced 2026-06-28 08:02:44 +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 _next: .word 0
.scend .scend
.alias p $ffd2 .alias p $ffd2
.text
main: main:
ldx #9 ldx #9
ldy #9
txa txa
tay
sed sed
* sty $10 * stx $11
stx $11 txa
ora #$30 ora #$30
jsr p jsr p
lda #42 lda #42
jsr p jsr p
tya tya
pha
ora #$30 ora #$30
jsr p jsr p
lda #61 lda #61
@@ -38,7 +40,8 @@ main:
and #$0f and #$0f
ora #$30 ora #$30
jsr p jsr p
ldy $10 pla
tay
dey dey
beq + beq +
lda #160 lda #160
@@ -51,4 +54,5 @@ main:
txa txa
tay tay
jmp --- jmp ---
* rts * cld
rts

BIN
99.prg

Binary file not shown.