Mercurial > hg > Members > kono > os9 > sbc09
annotate examples/input.asm @ 191:d0f5894e9b3a default tip
some how load: confilicts in gmake
author | kono |
---|---|
date | Thu, 07 Dec 2023 09:37:15 +0900 |
parents | 2088fd998865 |
children |
rev | line source |
---|---|
57 | 1 ;6809 Benchmark program. |
2 | |
3 org $100 | |
4 | |
5 lds #$100 | |
6 | |
7 ldb #'a' | |
8 jsr outc | |
9 | |
10 | |
11 ldx #40 | |
12 inloop jsr inc | |
13 jsr outc | |
14 leax -1,x | |
15 bne inloop | |
16 | |
17 ldb #'b' | |
18 jsr outc | |
19 jmp realexit | |
20 | |
21 error ldb #'e' | |
22 jsr outc | |
23 jmp realexit | |
24 | |
25 outc swi2 | |
26 rts | |
27 | |
28 inc swi3 | |
29 rts | |
30 | |
31 realexit sync | |
32 | |
33 enddata | |
34 | |
35 end |