mu/subx/examples
Kartik Agaram 5a9795bb66 4881 2018-12-28 08:56:21 -08:00
..
Readme.md 4618 2018-09-29 17:45:00 -07:00
ex1 4661 2018-10-04 23:23:48 -07:00
ex1.subx 4808 - clean up comments in all subx files 2018-11-30 16:45:15 -08:00
ex2 4661 2018-10-04 23:23:48 -07:00
ex2.subx 4881 2018-12-28 08:56:21 -08:00
ex3 4661 2018-10-04 23:23:48 -07:00
ex3.subx 4881 2018-12-28 08:56:21 -08:00
ex4 4661 2018-10-04 23:23:48 -07:00
ex4.subx 4808 - clean up comments in all subx files 2018-11-30 16:45:15 -08:00
ex5 4661 2018-10-04 23:23:48 -07:00
ex5.subx 4808 - clean up comments in all subx files 2018-11-30 16:45:15 -08:00
ex6 4661 2018-10-04 23:23:48 -07:00
ex6.subx 4817 2018-12-02 13:12:23 -08:00
ex7 4661 2018-10-04 23:23:48 -07:00
ex7.subx 4824 2018-12-03 12:03:23 -08:00
ex8 4661 2018-10-04 23:23:48 -07:00
ex8.subx 4847 2018-12-06 09:41:40 -08:00
ex9 4661 2018-10-04 23:23:48 -07:00
ex9.subx 4847 2018-12-06 09:41:40 -08:00
ex10 4661 2018-10-04 23:23:48 -07:00
ex10.subx 4881 2018-12-28 08:56:21 -08:00
ex11 4667 2018-10-05 19:49:47 -07:00
ex11.subx 4881 2018-12-28 08:56:21 -08:00
ex12 4661 2018-10-04 23:23:48 -07:00
ex12.subx 4824 2018-12-03 12:03:23 -08:00

Readme.md

Small example programs, each with a simple pedagogical goal.

They also help to validate SubX instruction semantics against native x86 hardware. For example, loading a single byte to a register would for some time clear the rest of the register. This behavior was internally consistent with unit tests. It took running an example binary natively to catch the discrepancy.