index
:
mu
this commit
hlt
main
Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.
Kartik K. Agaram <vc@akkartik.com>
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
Mode
Name
Size
-rw-r--r--
.gitattributes
457
log
stats
plain
blame
-rw-r--r--
.travis.yml
375
log
stats
plain
blame
-rw-r--r--
000organization.cc
6771
log
stats
plain
blame
-rw-r--r--
001help.cc
9857
log
stats
plain
blame
-rw-r--r--
002test.cc
3669
log
stats
plain
blame
-rw-r--r--
003trace.cc
17833
log
stats
plain
blame
-rw-r--r--
003trace.test.cc
4144
log
stats
plain
blame
-rw-r--r--
010vm.cc
13809
log
stats
plain
blame
-rw-r--r--
011run.cc
12753
log
stats
plain
blame
-rw-r--r--
012elf.cc
8437
log
stats
plain
blame
-rw-r--r--
013direct_addressing.cc
40775
log
stats
plain
blame
-rw-r--r--
014indirect_addressing.cc
31621
log
stats
plain
blame
-rw-r--r--
015immediate_addressing.cc
42015
log
stats
plain
blame
-rw-r--r--
016index_addressing.cc
5548
log
stats
plain
blame
-rw-r--r--
017jump_disp8.cc
11698
log
stats
plain
blame
-rw-r--r--
018jump_disp32.cc
11621
log
stats
plain
blame
-rw-r--r--
019functions.cc
3446
log
stats
plain
blame
-rw-r--r--
020byte_addressing.cc
10685
log
stats
plain
blame
-rw-r--r--
021div.cc
859
log
stats
plain
blame
-rw-r--r--
022float.cc
15755
log
stats
plain
blame
-rw-r--r--
029syscalls.cc
5982
log
stats
plain
blame
-rw-r--r--
030translate.cc
6213
log
stats
plain
blame
-rw-r--r--
031transforms.cc
296
log
stats
plain
blame
-rw-r--r--
032operands.cc
23601
log
stats
plain
blame
-rw-r--r--
033check_operands.cc
27313
log
stats
plain
blame
-rw-r--r--
034check_operand_bounds.cc
4452
log
stats
plain
blame
-rw-r--r--
035compute_segment_address.cc
3151
log
stats
plain
blame
-rw-r--r--
036labels.cc
13964
log
stats
plain
blame
-rw-r--r--
037global_variables.cc
9603
log
stats
plain
blame
-rw-r--r--
038literal_strings.cc
10357
log
stats
plain
blame
-rw-r--r--
039debug.cc
5661
log
stats
plain
blame
-rw-r--r--
040tests.cc
2744
log
stats
plain
blame
-rw-r--r--
100.txt
339
log
stats
plain
blame
-rw-r--r--
101_write.subx
2617
log
stats
plain
blame
-rw-r--r--
102test.subx
4340
log
stats
plain
blame
-rw-r--r--
103kernel-string-equal.subx
11773
log
stats
plain
blame
-rw-r--r--
104new-segment.subx
4524
log
stats
plain
blame
-rw-r--r--
105string-equal.subx
13023
log
stats
plain
blame
-rw-r--r--
106stream.subx
4209
log
stats
plain
blame
-rw-r--r--
107trace.subx
50836
log
stats
plain
blame
-rw-r--r--
108write.subx
8109
log
stats
plain
blame
-rw-r--r--
109stream-equal.subx
29742
log
stats
plain
blame
-rw-r--r--
110stop.subx
11988
log
stats
plain
blame
-rw-r--r--
111read.subx
22112
log
stats
plain
blame
-rw-r--r--
112read-byte.subx
19454
log
stats
plain
blame
-rw-r--r--
113write-stream.subx
12744
log
stats
plain
blame
-rw-r--r--
114error.subx
2890
log
stats
plain
blame
-rw-r--r--
115write-byte.subx
22347
log
stats
plain
blame
-rw-r--r--
116write-buffered.subx
10960
log
stats
plain
blame
-rw-r--r--
117write-int-hex.subx
21711
log
stats
plain
blame
-rw-r--r--
118parse-hex-int.subx
48616
log
stats
plain
blame
-rw-r--r--
119error-byte.subx
5657
log
stats
plain
blame
-rw-r--r--
120allocate.subx
55481
log
stats
plain
blame
-rw-r--r--
121new-stream.subx
7622
log
stats
plain
blame
-rw-r--r--
122read-line.subx
18774
log
stats
plain
blame
-rw-r--r--
123slice.subx
64345
log
stats
plain
blame
-rw-r--r--
124next-token.subx
105219
log
stats
plain
blame
-rw-r--r--
125write-stream-data.subx
6138
log
stats
plain
blame
-rw-r--r--
126write-int-decimal.subx
20523
log
stats
plain
blame
-rw-r--r--
127next-word.subx
22305
log
stats
plain
blame
-rw-r--r--
128subx-words.subx
32889
log
stats
plain
blame
-rw-r--r--
129emit-hex.subx
11191
log
stats
plain
blame
-rw-r--r--
130emit.subx
24643
log
stats
plain
blame
-rw-r--r--
131table.subx
119828
log
stats
plain
blame
-rw-r--r--
132slurp.subx
8023
log
stats
plain
blame
-rw-r--r--
133subx-widths.subx
11330
log
stats
plain
blame
-rw-r--r--
134emit-hex-array.subx
7348
log
stats
plain
blame
-rw-r--r--
135next-word-or-string.subx
25333
log
stats
plain
blame
-rw-r--r--
200.txt
186
log
stats
plain
blame
-rw-r--r--
201register-names.subx
3687
log
stats
plain
blame
-rw-r--r--
202write-int.subx
5665
log
stats
plain
blame
-rw-r--r--
203stack.subx
19622
log
stats
plain
blame
-rw-r--r--
300.txt
904
log
stats
plain
blame
-rw-r--r--
301array-equal.subx
11503
log
stats
plain
blame
-rw-r--r--
302stack_allocate.subx
1838
log
stats
plain
blame
-rw-r--r--
303kernel-string.subx
2274
log
stats
plain
blame
-rw-r--r--
304screen.subx
10758
log
stats
plain
blame
-rw-r--r--
305keyboard.subx
6760
log
stats
plain
blame
-rw-r--r--
306files.subx
4768
log
stats
plain
blame
-rw-r--r--
307size.subx
304
log
stats
plain
blame
-rw-r--r--
308allocate-array.subx
665
log
stats
plain
blame
-rw-r--r--
309stream.subx
5408
log
stats
plain
blame
-rw-r--r--
310copy-bytes.subx
3978
log
stats
plain
blame
-rw-r--r--
311decimal-int.subx
17195
log
stats
plain
blame
-rw-r--r--
312copy.subx
1922
log
stats
plain
blame
-rw-r--r--
313index-bounds-check.subx
3070
log
stats
plain
blame
-rw-r--r--
314divide.subx
429
log
stats
plain
blame
-rw-r--r--
315slice.subx
369
log
stats
plain
blame
-rw-r--r--
400.mu
12260
log
stats
plain
blame
-rw-r--r--
401test.mu
266
log
stats
plain
blame
-rw-r--r--
402time.mu
1132
log
stats
plain
blame
-rw-r--r--
403unicode.mu
11447
log
stats
plain
blame
-rw-r--r--
404stream.mu
2255
log
stats
plain
blame
-rw-r--r--
405screen.mu
50747
log
stats
plain
blame
-rw-r--r--
406int32.mu
739
log
stats
plain
blame
-rw-r--r--
407print-int32-decimal-right-justified.mu
429
log
stats
plain
blame
-rw-r--r--
408float.mu
630
log
stats
plain
blame
-rw-r--r--
409print-float-hex.mu
6349
log
stats
plain
blame
-rw-r--r--
410file.mu
677
log
stats
plain
blame
-rw-r--r--
411string.mu
4291
log
stats
plain
blame
-rw-r--r--
412print-float-decimal.mu
18754
log
stats
plain
blame
-rw-r--r--
README.md
11087
log
stats
plain
blame
d---------
apps
2901
log
stats
plain
d---------
archive
140
log
stats
plain
d---------
atom
145
log
stats
plain
d---------
baremetal
255
log
stats
plain
-rwxr-xr-x
bootstrap
97
log
stats
plain
blame
-rw-r--r--
bootstrap.md
676
log
stats
plain
blame
-rwxr-xr-x
build
2998
log
stats
plain
blame
-rwxr-xr-x
build_and_test_until
403
log
stats
plain
blame
-rw-r--r--
cheatsheet.pdf
76298
log
stats
plain
blame
-rwxr-xr-x
clean
450
log
stats
plain
blame
-rw-r--r--
editor.md
842
log
stats
plain
blame
-rw-r--r--
exuberant_ctags_rc
210
log
stats
plain
blame
d---------
html
5417
log
stats
plain
-rw-r--r--
index.html
1775
log
stats
plain
blame
-rw-r--r--
init.linux
2884
log
stats
plain
blame
-rw-r--r--
init.soso
1056
log
stats
plain
blame
-rw-r--r--
modrm.pdf
46205
log
stats
plain
blame
-rw-r--r--
mu-init-test.subx
940
log
stats
plain
blame
-rw-r--r--
mu-init.subx
1924
log
stats
plain
blame
-rw-r--r--
mu.dte
478
log
stats
plain
blame
-rw-r--r--
mu.md
20148
log
stats
plain
blame
-rw-r--r--
mu.vim
2368
log
stats
plain
blame
-rw-r--r--
mu_instructions
22182
log
stats
plain
blame
-rwxr-xr-x
run_one_test
774
log
stats
plain
blame
-rw-r--r--
run_one_test.subx
1585
log
stats
plain
blame
-rw-r--r--
sib.pdf
51968
log
stats
plain
blame
-rw-r--r--
stats.txt
4120
log
stats
plain
blame
-rw-r--r--
subx.dte
918
log
stats
plain
blame
-rw-r--r--
subx.el
1394
log
stats
plain
blame
-rw-r--r--
subx.gedit
1049
log
stats
plain
blame
-rw-r--r--
subx.md
7044
log
stats
plain
blame
-rw-r--r--
subx.nanorc
335
log
stats
plain
blame
-rw-r--r--
subx.vim
2945
log
stats
plain
blame
-rw-r--r--
subx_bare.md
7153
log
stats
plain
blame
-rw-r--r--
subx_debugging.md
5857
log
stats
plain
blame
-rw-r--r--
subx_opcodes
6716
log
stats
plain
blame
-rwxr-xr-x
test_apps
9335
log
stats
plain
blame
-rwxr-xr-x
test_apps_emulated
8191
log
stats
plain
blame
-rwxr-xr-x
test_layers
1428
log
stats
plain
blame
d---------
tools
748
log
stats
plain
-rwxr-xr-x
translate_mu
181
log
stats
plain
blame
-rwxr-xr-x
translate_mu_debug
302
log
stats
plain
blame
-rwxr-xr-x
translate_mu_emulated
228
log
stats
plain
blame
-rwxr-xr-x
translate_subx
1137
log
stats
plain
blame
-rwxr-xr-x
translate_subx_debug
1293
log
stats
plain
blame
-rwxr-xr-x
translate_subx_emulated
869
log
stats
plain
blame
-rw-r--r--
vimrc.vim
5489
log
stats
plain
blame
-rw-r--r--
vocabulary.md
8893
log
stats
plain
blame
-rw-r--r--
x86_approx.md
2900
log
stats
plain
blame