about summary refs log tree commit diff stats
path: root/subx/011run.cc
Commit message (Collapse)AuthorAgeFilesLines
* 4617Kartik Agaram2018-09-291-0/+2
|
* 4614 - redo simulated RAMKartik Agaram2018-09-291-0/+2
| | | | | | | | | | | Now simulated 'Memory' isn't just a single flat array. Instead it knows about segments and VMAs. The code segment will always be first, and the data/heap segment will always be second. The brk() syscall knows about the data segment. One nice side-effect is that I no longer need to mess with Memory initialization regardless of where I place my segments.
* 4502 - support string literals directly in codeKartik Agaram2018-09-221-8/+21
| | | | | | | | | | Doesn't de-duplicate in the data segment, though. If you use the literal "foo" a hundred times in your code segment you're gonna spend a hundred times the space you need to. We can now simplify our test harness a bit in the factorial app, but we still have to put in commandline args to compare with manually. We only support length-prefixed strings, not null-terminated ones.
* 4565Kartik Agaram2018-09-211-1/+4
|
* 4538Kartik Agaram2018-09-071-3/+3
|
* 4531 - automatically compute segment addressesKartik Agaram2018-09-011-2/+41
|
* 4505 - start warning on jumps without labelsKartik Agaram2018-08-111-10/+10
| | | | | As we climb the ladder of abstraction we'll gradually pull the ladder up behind ourselves.
* 4500Kartik Agaram2018-08-091-0/+5
|
* 4495 - nail down a few more error statesKartik Agaram2018-08-081-9/+22
| | | | | It would be confusing to use negative numbers in raw hex. But we'll rely on programmer taste there.
* 4494Kartik Agaram2018-08-081-0/+21
| | | | | | Hacky test. I'm creating a helper to run tests just for this layer. But I won't be able to do this when I want to selectively run just transforms below some level.
* 4472 - experiment: help read the long linesKartik Agaram2018-08-041-5/+5
|
* 4444Kartik Agaram2018-07-271-0/+6
| | | | More tracing reorg.
* 4442Kartik Agaram2018-07-271-1/+1
| | | | Clean up trace levels everywhere in SubX.
* 4434Kartik Agaram2018-07-271-1/+1
| | | | | | | | Key core data structures by hex bytes in text rather than opcode numbers. Saves us round trips of having to parse and reparse strings, and also allows us to more easily ignore unexpected non-hex words in each transform. We'll use this ability next when we start inserting labels.
* 4425Kartik Agaram2018-07-261-0/+253
Better name for a layer.