about summary refs log tree commit diff stats
path: root/subx
Commit message (Collapse)AuthorAgeFilesLines
* 4737Kartik Agaram2018-10-301-1/+1
|
* 4736Kartik Agaram2018-10-293-43/+48
| | | | | | | | | We'll use a common stream data structure for input and output streams. Having separate types makes more sense in a more high-level language, where we have type checking and where functions for handling the different types are more concise. But in machine code the sweet spot is more toward fewer types.
* 4735Kartik Agaram2018-10-281-6/+6
|
* 4733Kartik Agaram2018-10-281-1/+1
|
* 4732Kartik Agaram2018-10-282-4/+3
|
* 4731Kartik Agaram2018-10-287-25/+25
|
* 4730Kartik Agaram2018-10-281-1/+1
|
* 4729Kartik Agaram2018-10-285-42/+54
| | | | | | Start injecting all dependencies in the Crenshaw compiler app. In the process I realized the non-fake code path of 'stop' had a bug.
* 4728Kartik Agaram2018-10-281-1/+1
| | | | | What is this '|| exit 1' construct?! No need for it in the presence of ERREXIT.
* 4727 - commit to better 64-bit supportKartik Agaram2018-10-272-18/+16
| | | | | | | I've started testing more regularly on 64-bit Linux, and I realize that the binaries actually now compare identical even on 64-bit. Why did I ever add that condition to CI? Seems to be working now on Travis. Let's start comparing now and see if the problem happens again.
* 4726Kartik Agaram2018-10-278-6/+46
|
* 4725 - back to porting the Crenshaw compilerKartik Agaram2018-10-264-3/+7
|
* 4723Kartik Agaram2018-10-242-10/+10
| | | | Fix CI.
* 4721Kartik Agaram2018-10-242-0/+0
|
* 4720Kartik Agaram2018-10-241-2/+2
| | | | Raise an error when we fall off the end of the code segment.
* 4719 - testable interface wrapping around exit()Kartik Agaram2018-10-243-71/+153
|
* 4718Kartik Agaram2018-10-242-6/+6
|
* 4717Kartik Agaram2018-10-246-68/+68
|
* 4716Kartik Agaram2018-10-231-3/+3
|
* 4715 - support one more negation instructionKartik Agaram2018-10-232-1/+48
|
* 4714Kartik Agaram2018-10-231-1/+21
| | | | Improve error-checking for unnecessary displacement operands.
* 4713Kartik Agaram2018-10-214-1/+137
| | | | | | | | Initial sketch of a dependency-injected wrapper around the exit() syscall. I don't have the primitives yet, just a sketch of how they should work -- and a passing test for non-local jumps without support for passing the exit status to the caller.
* 4712Kartik Agaram2018-10-211-89/+92
|
* 4711Kartik Agaram2018-10-174-165/+122
| | | | | | | Extract a helper for appending strings to raw buffers. I'd been resisting this idea, but it actually turns out to be a pretty clean abstraction in the end.
* 4710Kartik Agaram2018-10-174-9/+9
| | | | | Start using write() instead of _write().. and we promptly find a typo when dealing with real file descriptors.
* 4708Kartik Agaram2018-10-172-4/+4
|
* 4707 - subx: dependency-injected write() primitiveKartik Agaram2018-10-163-0/+251
|
* 4706Kartik Agaram2018-10-161-2/+2
|
* 4705Kartik Agaram2018-10-164-6/+6
|
* 4704Kartik Agaram2018-10-161-29/+41
|
* 4703Kartik Agaram2018-10-161-4/+4
|
* 4702Kartik Agaram2018-10-162-0/+4
|
* 4701Kartik Agaram2018-10-161-0/+0
|
* 4700Kartik Agaram2018-10-161-2/+2
|
* 4699Kartik Agaram2018-10-145-61/+38
|
* 4698Kartik Agaram2018-10-1410-36/+36
|
* 4697Kartik Agaram2018-10-145-18/+28
|
* 4696Kartik Agaram2018-10-141-14/+14
| | | | Update the syntax documentation.
* 4695Kartik Agaram2018-10-1411-158/+158
|
* 4694Kartik Agaram2018-10-1314-108/+113
| | | | Check for duplicate docstrings.
* 4693Kartik Agaram2018-10-139-91/+89
| | | | | | | | 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-137-75/+113
| | | | | | 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.
* 4691Kartik Agaram2018-10-133-21/+21
| | | | All tests now once again run the same natively and on VM.
* 4690Kartik Agaram2018-10-131-15/+68
| | | | | | | Fix a major discrepancy between the SubX VM and real x86 processors. This was responsible for the breakage identified in commit 4684. We now have failing tests, but at least they are identical running natively and on SubX.
* 4689Kartik Agaram2018-10-122-64/+63
|
* 4688Kartik Agaram2018-10-127-100/+100
|
* 4687Kartik Agaram2018-10-122-19/+19
|
* 4686Kartik Agaram2018-10-122-10/+10
|
* 4685Kartik Agaram2018-10-121-1/+1
|
* 4684Kartik Agaram2018-10-115-4/+11
| | | | | | | | | | Turns out the tests for 'trace' have been broken in native mode since the original commit (4674). Dangers of running my tests on Darwin, where I can't run them natively. The test failures didn't get flagged on CI because I'd forgotten to update the exit code of the factorial app in commit 4664. At least that's fixed in this commit.