about summary refs log tree commit diff stats
path: root/subx/examples/ex2.subx
Commit message (Collapse)AuthorAgeFilesLines
* 4808 - clean up comments in all subx filesKartik Agaram2018-11-301-2/+4
|
* 4802Kartik Agaram2018-11-301-1/+1
| | | | | | | | | | | | | | | | Some automated commenting cleanup. Still needs more careful manual scanning. sed -i 's/^# 1-3/# . 1-3/' *.subx */*.subx sed -i 's/^# op/# . op/' *.subx */*.subx sed -i 's/# vim/# . . vim/' *.subx */*.subx sed -i 's/^ # push args/ # . . push args/' *.subx */*.subx sed -i 's/^ # discard args/ # . . discard args/' *.subx */*.subx sed -i 's/^ # call/ # . . call/' *.subx */*.subx sed -i 's/^ # prolog/ # . prolog/' *.subx */*.subx sed -i 's/^ # epilog/ # . epilog/' *.subx */*.subx sed -i 's/^ # save registers/ # . save registers/' *.subx */*.subx sed -i 's/^ # restore registers/ # . restore registers/' *.subx */*.subx sed -i 's/ operand / register /' *.subx */*.subx
* 4780Kartik Agaram2018-11-261-0/+1
|
* 4669Kartik Agaram2018-10-051-8/+5
|
* 4668Kartik Agaram2018-10-051-2/+2
|
* 4662Kartik Agaram2018-10-051-1/+1
|
* 4644Kartik Agaram2018-10-011-3/+3
|
* 4639Kartik Agaram2018-10-011-3/+3
|
* 4624Kartik Agaram2018-09-301-1/+1
| | | | | | | | Start requiring a '-o' flag to designate the output binary when translating. Things currently get funky if you pass in multiple inputs, but that's ok. This is the first step to supporting multiple input files for a single output binary.
* 4581Kartik Agaram2018-09-211-1/+1
| | | | | | | | | | | | Even more cuddling. We want to keep lines short where the opcode and operands are self-explanatory. If there are any implicit registers, etc., we'll continue to do the table layout. The first two columns look messy now; let's see how this goes. Maybe I'll give up on the tabular layout altogether, just string args with a single space.
* 4531 - automatically compute segment addressesKartik Agaram2018-09-011-1/+1
|
* 4529 - move examples to a sub-directoryKartik Agaram2018-09-011-0/+20
.c?id=79e9ab83b02ca8bd1c4ad77b59eb536fa7f081a8'>79e9ab83 ^
79e9ab83 ^










79e9ab83 ^
79e9ab83 ^





79e9ab83 ^










79e9ab83 ^
79e9ab83 ^





79e9ab83 ^










79e9ab83 ^
79e9ab83 ^




79e9ab83 ^

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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217