about summary refs log tree commit diff stats
path: root/subx/011run.cc
Commit message (Collapse)AuthorAgeFilesLines
* 4717Kartik Agaram2018-10-241-2/+2
|
* 4696Kartik Agaram2018-10-141-14/+14
| | | | Update the syntax documentation.
* 4695Kartik Agaram2018-10-141-2/+2
|
* 4694Kartik Agaram2018-10-131-2/+2
| | | | Check for duplicate docstrings.
* 4693Kartik Agaram2018-10-131-1/+1
| | | | | | | | Add the standard mnemonic for each opcode. We aren't ever going to have complete docs of the subset of the x86 ISA we support, so we need to help readers cross-correlate with the complete docs.
* 4692 - update online help for subxKartik Agaram2018-10-131-1/+1
| | | | | | It now includes details for 8-bit registers. And we'll just use the classic names for the registers so that the relationships between 8- and 32-bit versions are more obvious.
* 4637 - subx: support multiple input filesKartik Agaram2018-10-011-0/+1
|
* 4636Kartik Agaram2018-10-011-0/+25
|
* 4634Kartik Agaram2018-10-011-3/+1
|
* 4633Kartik Agaram2018-10-011-2/+6
| | | | | | | Detect overlapping segments when loading SubX source code. This will start to become more of a risk as we start loading multiple files, juggling multiple segments, etc.
* 4631Kartik Agaram2018-10-011-4/+1
|
* 4630Kartik Agaram2018-10-011-1/+1
|
* 4629Kartik Agaram2018-10-011-8/+10
|
* 4628Kartik Agaram2018-09-301-1/+4
|
* 4627Kartik Agaram2018-09-301-4/+9
|
* 4626Kartik Agaram2018-09-301-10/+9
|
* 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.