-
Notifications
You must be signed in to change notification settings - Fork 6
/
bootstrap1.s
94 lines (86 loc) · 874 Bytes
/
bootstrap1.s
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
=#0 0005
=#1 0300
=#2 1000
S+012
=#1 0304
=(11
=#8 0000
S 81
=#1 0308
=(11
=#2 0601
=#9 0000
S+912
=#4 0064
=#0 0001
- 22
S+0820
?=02
=#5 00dc
J?5
=[32
=#2 0009
?=32
=#5 00f0
J?5
=#2 003a
?=32
=#5 0148
J?5
=#2 0023
?=32
=#5 0194
J?5
J 4
#EOF
=#0 0007
- 11
S 01
#TAB
= 55
=#0 0001
- 22
S+0820
=[32
=#2 000a
?=32
J?4
=#0 0002
=#1 0001
= 29
- 33
S+0231
J 5
###COLON
=#0 0001
=#2 016c
=#6 0004
S+0826
=#6 ????
=#0 0003
=#2 0000
S+0962
J 4
#COMMENT
=#0 0001
- 22
S+0820
=[32
=#2 000a
?=32
J?4
J 5
*
####################################
# Register usage in this file
####################################
# R0: Scratch #1
# R1: Scratch #2
# R2: Scratch #3
# R3: Line prefix
# R4: Loop continue address
# R5: Subloop continue address
# R6: Address to write to
# R8: Input file handle
# R9: Output file handle
####################################