about summary refs log tree commit diff stats
path: root/subx/036global_variables.cc
Commit message (Collapse)AuthorAgeFilesLines
* 4661Kartik Agaram2018-10-041-1/+1
| | | | | Make segment management a little more consistent between initial segments and add-on segments (using `mmap`).
* 4640 - clear error message on missing libraryKartik Agaram2018-10-011-0/+2
|
* 4616 - fix subx/examples/ex7Kartik Agaram2018-09-291-1/+1
| | | | | | | | | It was broken since I added support for global variables, back on Sep 1. One other subtle thing I've improved is the name `looks_like_hex_int`. We can now distinguish in the pack-operands transform between ignoring 'foo' because it doesn't look like a number, and immediately flagging '0xfoo' as an error because it *should* be a number.
* 4614 - redo simulated RAMKartik Agaram2018-09-291-5/+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.
* 4544Kartik Agaram2018-09-121-21/+62
| | | | | | | | Attempt #3 at fixing CI. In the process the feature gets a lot less half-baked. Ridiculously misleading that we had `has_metadata()` was special-cased to one specific transform. I suck.
* 4543Kartik Agaram2018-09-121-6/+31
| | | | | | | Really fix CI. Also realized we don't need to worry about function pointers. They won't be in /disp32 fields.
* 4542Kartik Agaram2018-09-121-2/+2
| | | | Fix CI (`subx translate examples/ex6.subx examples/ex6`)
* 4535 - support for global variable namesKartik Agaram2018-09-011-0/+111