Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 4614 - redo simulated RAM | Kartik Agaram | 2018-09-29 | 1 | -2/+1 |
| | | | | | | | | | | | 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 code | Kartik Agaram | 2018-09-22 | 1 | -0/+215 |
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. |