about summary refs log tree commit diff stats
path: root/subx
Commit message (Collapse)AuthorAgeFilesLines
* 4888Kartik Agaram2018-12-2934-173/+173
| | | | We only can't use rm32=5 when mod=0. Totally fine when it's mod=1.
* 4887Kartik Agaram2018-12-291-3/+3
|
* 4886Kartik Agaram2018-12-2813-27/+28
|
* 4885Kartik Agaram2018-12-281-1/+1
| | | | Make dots a little more salient on a light-background Vim.
* 4884Kartik Agaram2018-12-282-3/+3
|
* 4883 - rudimentary memory allocatorKartik Agaram2018-12-289-8/+183
|
* 4882Kartik Agaram2018-12-281-15/+26
|
* 4881Kartik Agaram2018-12-2819-20/+20
|
* 4880Kartik Agaram2018-12-281-1/+1
|
* 4879Kartik Agaram2018-12-289-24/+24
|
* 4878Kartik Agaram2018-12-271-1/+1
|
* 4877Kartik Agaram2018-12-271-1/+1
|
* 4876Kartik Agaram2018-12-271-1/+1
|
* 4874Kartik Agaram2018-12-252-0/+26
|
* 4873Kartik Agaram2018-12-201-5/+11
|
* 4872 - ctags definitions for SubXKartik Agaram2018-12-171-0/+3
| | | | Symlink or append exuberant_ctags_rc to your ~/.ctagsrc.
* 4871Kartik Agaram2018-12-171-6/+20
| | | | Experimenting with a light background colorscheme.
* 4870Kartik Agaram2018-12-171-1/+1
| | | | | | Don't treat this as a section comment: e8/call foo # -1 is negative
* 4868Kartik Agaram2018-12-161-1/+1
|
* 4867Kartik Agaram2018-12-151-8/+8
|
* 4866Kartik Agaram2018-12-101-6/+6
|
* 4865Kartik Agaram2018-12-105-14/+14
| | | | More mnemonic register usage in write-stream.
* 4864Kartik Agaram2018-12-105-0/+53
| | | | Our first buffer overflow!
* 4863Kartik Agaram2018-12-102-2/+2
|
* 4862Kartik Agaram2018-12-091-2/+1
|
* 4861Kartik Agaram2018-12-092-42/+42
|
* 4860 - stage 1 of SubX compiler in SubX is done!Kartik Agaram2018-12-092-9/+66
| | | | | | | | | 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.)
* 4859Kartik Agaram2018-12-091-8/+8
|
* 4858 - debugging tipsKartik Agaram2018-12-081-0/+103
|
* 4857Kartik Agaram2018-12-062-29/+14
| | | | | | Clean up the debugging flow, and go over help messages for inconsistencies. They predate the new Readme, which takes some time to describe the x86 instruction set.
* 4856Kartik Agaram2018-12-061-0/+0
| | | | Fix CI.
* 4854Kartik Agaram2018-12-062-0/+184
|
* 4853Kartik Agaram2018-12-061-5/+6
|
* 4852Kartik Agaram2018-12-061-0/+10
|
* 4851Kartik Agaram2018-12-062-21/+187
| | | | | | | 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-062-1/+137
|
* 4849Kartik Agaram2018-12-062-1/+90
|
* 4848Kartik Agaram2018-12-062-7/+6
|
* 4847Kartik Agaram2018-12-0611-23/+23
|
* 4846Kartik Agaram2018-12-067-68/+331
| | | | | | | | | | | | | | 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-3/+0
|
* 4844Kartik Agaram2018-12-063-0/+0
|
* 4845Kartik Agaram2018-12-062-0/+823
| | | | Making progress on hex1 (http://web.archive.org/web/20061108010907/http://www.rano.org/bcompiler.html)
* 4843Kartik Agaram2018-12-051-4/+4
| | | | Colorize function names containing special characters like '?'.
* 4842Kartik Agaram2018-12-053-5/+21
|
* 4841Kartik Agaram2018-12-044-0/+94
| | | | New helper: print an error message, then a numeric byte, then abort.
* 4840Kartik Agaram2018-12-047-6/+227
| | | | New helper: printing a string to a buffered file.
* 4839Kartik Agaram2018-12-041-2/+2
|
* 4838Kartik Agaram2018-12-044-10/+10
| | | | Better to use EDI as a mnemonic for 'destination'.
* 4837Kartik Agaram2018-12-044-2/+2
| | | | Let's standardize to use opcode 39 rather than 3b by default.