1
0
mirror of https://github.com/fumiama/650299.git synced 2026-06-07 19:40:34 +08:00
This commit is contained in:
源文雨
2023-03-30 13:01:51 +08:00
commit 0466d1ef97
3 changed files with 72 additions and 0 deletions

54
99.asm Normal file
View File

@@ -0,0 +1,54 @@
.word $0801
.org $0801
.scope
.word _next, 10
.byte $9e,"2061",0
_next: .word 0
.scend
.alias p $ffd2
main:
ldx #9
ldy #9
txa
sed
* sty $10
stx $11
ora #$30
jsr p
lda #42
jsr p
tya
ora #$30
jsr p
lda #61
jsr p
lda #0
clc
* adc $11
dey
bne -
tay
lsr
lsr
lsr
lsr
ora #$30
jsr p
tya
and #$0f
ora #$30
jsr p
ldy $10
dey
beq +
lda #160
jsr p
jmp --
* lda #13
jsr p
dex
beq +
txa
tay
jmp ---
* rts

BIN
99.prg Normal file

Binary file not shown.

18
README.md Normal file
View File

@@ -0,0 +1,18 @@
# 6052汇编九九乘法表
> 若想进行修改,你需要下载[ophis](https://github.com/fumiama/c64-ophis-lib),并了解它的独特语法,以理解程序代码
## 演示视频
## 99.prg
```
Offset: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000: 01 08 0B 08 0A 00 9E 32 30 36 31 00 00 00 A2 09 .......2061...".
00000010: A0 09 F8 8A 84 10 86 11 09 30 20 D2 FF A9 2A 20 ..x......0.R.)*.
00000020: D2 FF 98 09 30 20 D2 FF A9 3D 20 D2 FF A9 00 18 R...0.R.)=.R.)..
00000030: 65 11 88 D0 FB A8 4A 4A 4A 4A 09 30 20 D2 FF 98 e..P{(JJJJ.0.R..
00000040: 29 0F 09 30 20 D2 FF A4 10 88 F0 08 A9 A0 20 D2 )..0.R.$..p.)..R
00000050: FF 4C 12 08 A9 0D 20 D2 FF CA F0 05 8A A8 4C 12 .L..)..R.Jp..(L.
00000060: 08 60 .`
```