blob: 543a3d877fb50bd26d34ae98655f6115a42df40b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
SYM = $10
SYM1 = 10
SYM2 = %00000010
.org $A000
tok:
.byte "dab"
msg:
.byte "oof, you divided a, and b on me.\n"
string:
.byte "Please, type something.\n"
string2:
.byte "You typed, "
.org $1000
lex:
.byte $0
.org $2000
lex2:
.qword lex
cmd_buf:
.word $0
.org $8000
reset:
cps
lda
sta lex
sta (lex2), y
sta (lex2, x)
sta (lex2)
sta lex, y
sta lex, x
sta $1000
lda.w
a
.org $A000
v
q
|