about summary refs log tree commit diff stats
path: root/subx/apps/hex
Commit message (Collapse)AuthorAgeFilesLines
* 4952Kartik Agaram2019-02-051-0/+0
|
* 4951Kartik Agaram2019-02-031-0/+0
| | | | Cleaner way to compare streams in tests.
* 4949Kartik Agaram2019-02-021-0/+0
|
* 4945Kartik Agaram2019-02-011-0/+0
|
* 4938Kartik Agaram2019-01-201-0/+0
|
* 4937Kartik Agaram2019-01-201-0/+0
|
* 4930Kartik Agaram2019-01-151-0/+0
|
* 4929Kartik Agaram2019-01-151-0/+0
| | | | Clean up primitives for converting from/to hex chars.
* 4928Kartik Agaram2019-01-141-0/+0
|
* 4927Kartik Agaram2019-01-141-0/+0
|
* 4926Kartik Agaram2019-01-141-0/+0
|
* 4925Kartik Agaram2019-01-141-0/+0
|
* 4923Kartik Agaram2019-01-121-0/+0
| | | | | We want slice-equal? for length-prefixed strings, not null-terminated "kernel" strings.
* 4920Kartik Agaram2019-01-111-0/+0
|
* 4916Kartik Agaram2019-01-101-0/+0
| | | | | In the process of building slice primitives I found an out-of-bounds access in write-byte.
* 4913Kartik Agaram2019-01-071-0/+0
|
* 4911Kartik Agaram2019-01-061-0/+0
|
* 4908Kartik Agaram2019-01-051-0/+0
| | | | | | | | Fix CI. a) Update canonical binaries. b) Fix an out-of-bounds access in `clear-stream`. This also required supporting a new instruction in `subx run` to load an imm8 into rm8.
* 4888Kartik Agaram2018-12-291-0/+0
| | | | We only can't use rm32=5 when mod=0. Totally fine when it's mod=1.
* 4883 - rudimentary memory allocatorKartik Agaram2018-12-281-0/+0
|
* 4879Kartik Agaram2018-12-281-0/+0
|
* 4865Kartik Agaram2018-12-101-0/+0
| | | | More mnemonic register usage in write-stream.
* 4864Kartik Agaram2018-12-101-0/+0
| | | | Our first buffer overflow!
* 4861Kartik Agaram2018-12-091-0/+0
|
* 4860 - stage 1 of SubX compiler in SubX is done!Kartik Agaram2018-12-091-0/+0
| | | | | | | | | I'm imagining 3 core stages total: 1. convert text hex bytes -> binary (✓) 2. pack and reorder operands 3. compute label addresses (Not including extras like error-checking.)
* 4856Kartik Agaram2018-12-061-0/+0
| | | | Fix CI.
* 4854Kartik Agaram2018-12-061-0/+0
|
* 4851Kartik Agaram2018-12-061-0/+0
| | | | | | | Bugfix in scenarios where scan-next-byte needs to abort. I'm starting to have trouble keeping strings, streams and buffered-files straight.
* 4850Kartik Agaram2018-12-061-0/+0
|
* 4849Kartik Agaram2018-12-061-0/+0
|
* 4848Kartik Agaram2018-12-061-0/+0
|
* 4846Kartik Agaram2018-12-061-0/+0
| | | | | | | | | | | | | | Clean up a few things: a) Call scan-next-byte in hex.subx with the right number of args. Turns out tests continue to work fine if they never use the other args. b) Tear down a test for 'stop' in the right order. Not important since we have no EBP to restore. But can still be misleading. c) Have 'check-ints-equal' return nothing. Handy for it to not mess up EAX. I never use the result anyway, and the name also is imperative suggesting callers won't expect a return value.
* 4845Kartik Agaram2018-12-061-0/+0
Making progress on hex1 (http://web.archive.org/web/20061108010907/http://www.rano.org/bcompiler.html)