Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 4386 - start of syntax-checking | Kartik Agaram | 2018-07-22 | 2 | -1/+322 |
| | |||||
* | 4385 - online help on addressing modes | Kartik Agaram | 2018-07-21 | 2 | -1/+87 |
| | |||||
* | 4384 - opcodes all documented | Kartik Agaram | 2018-07-20 | 1 | -0/+18 |
| | |||||
* | 4383 | Kartik Agaram | 2018-07-20 | 2 | -23/+34 |
| | | | | Make room for including multibyte opcodes in the opcode list. | ||||
* | 4382 | Kartik Agaram | 2018-07-20 | 1 | -0/+5 |
| | |||||
* | 4381 | Kartik Agaram | 2018-07-20 | 2 | -2/+3 |
| | | | | Fix CI. | ||||
* | 4380 - single-byte opcodes all documented | Kartik Agaram | 2018-07-20 | 3 | -3/+12 |
| | |||||
* | 4379 | Kartik Agaram | 2018-07-20 | 1 | -1/+1 |
| | |||||
* | 4378 | Kartik Agaram | 2018-07-20 | 1 | -1/+1 |
| | |||||
* | 4377 | Kartik Agaram | 2018-07-20 | 2 | -3/+4 |
| | |||||
* | 4376 - subx: online help includes supported opcodes | Kartik Agaram | 2018-07-20 | 8 | -8/+167 |
| | |||||
* | 4375 | Kartik Agaram | 2018-07-20 | 2 | -20/+34 |
| | |||||
* | 4374 - starting to use the online help system | Kartik Agaram | 2018-07-20 | 3 | -2/+19 |
| | |||||
* | 4373 - subx: beginnings of online help | Kartik Agaram | 2018-07-20 | 2 | -9/+53 |
| | |||||
* | 4372 | Kartik Agaram | 2018-07-20 | 1 | -2/+5 |
| | | | | Don't refer to program internals before showing its data structures. | ||||
* | 4371 | Kartik Agaram | 2018-07-19 | 1 | -32/+34 |
| | |||||
* | 4370 | Kartik Agaram | 2018-07-19 | 1 | -5/+7 |
| | |||||
* | 4369 | Kartik Agaram | 2018-07-19 | 1 | -5/+5 |
| | |||||
* | 4368 | Kartik Agaram | 2018-07-18 | 1 | -1/+1 |
| | |||||
* | 4367 | Kartik Agaram | 2018-07-18 | 1 | -0/+2 |
| | |||||
* | 4366 | Kartik Agaram | 2018-07-17 | 1 | -0/+0 |
| | |||||
* | 4365 | Kartik Agaram | 2018-07-17 | 1 | -0/+0 |
| | |||||
* | 4364 | Kartik Agaram | 2018-07-17 | 1 | -1/+0 |
| | |||||
* | 4363 - subx: first program using the stack segment | Kartik Agaram | 2018-07-16 | 5 | -3/+57 |
| | | | | | We allocate space for a local variable, read() a character from stdin to it, and write() it out to stdout. | ||||
* | 4362 | Kartik Agaram | 2018-07-16 | 1 | -0/+1 |
| | |||||
* | 4361 | Kartik Agaram | 2018-07-16 | 1 | -1/+1 |
| | |||||
* | 4360 | Kartik Agaram | 2018-07-16 | 1 | -1/+1 |
| | |||||
* | 4359 | Kartik Agaram | 2018-07-16 | 1 | -3/+11 |
| | |||||
* | 4358 - verify alignment of generated ELF binary | Kartik Agaram | 2018-07-16 | 2 | -1/+6 |
| | |||||
* | 4357 | Kartik Agaram | 2018-07-16 | 1 | -1/+3 |
| | |||||
* | 4356 - subx: first program with a data segment | Kartik Agaram | 2018-07-16 | 6 | -9/+24 |
| | | | | | | | | | | | We read() a character from stdin and write() it out to stdout, saving it to a global variable in between. ELF binaries are inefficient; you can ask for a low alignment, but the kernel may not be able to handle it. If you set up a high alignment then you end up wasting an increasing amount of space in each segment because of the constraint that the offset bear some relationship with the loaded address. | ||||
* | 4355 | Kartik Agaram | 2018-07-16 | 1 | -0/+1 |
| | |||||
* | 4354 | Kartik Agaram | 2018-07-16 | 1 | -0/+4 |
| | |||||
* | 4353 | Kartik Agaram | 2018-07-16 | 1 | -4/+2 |
| | |||||
* | 4352 - subx: write() syscall | Kartik Agaram | 2018-07-16 | 1 | -1/+4 |
| | |||||
* | 4351 | Kartik Agaram | 2018-07-16 | 4 | -0/+17 |
| | |||||
* | 4350 | Kartik Agaram | 2018-07-15 | 16 | -290/+489 |
| | | | | | | | Reorganize layers to introduce the translation workflow right at the start. We also avoid duplicating parsing code. Programs are always parsed into the `program` data structure. | ||||
* | 4349 | Kartik Agaram | 2018-07-15 | 2 | -0/+26 |
| | |||||
* | 4348 | Kartik Agaram | 2018-07-15 | 1 | -1/+2 |
| | |||||
* | 4347 | Kartik Agaram | 2018-07-15 | 8 | -374/+374 |
| | |||||
* | 4346 | Kartik Agaram | 2018-07-15 | 1 | -0/+4 |
| | |||||
* | 4345 | Kartik Agaram | 2018-07-15 | 1 | -21/+57 |
| | |||||
* | 4344 | Kartik Agaram | 2018-07-15 | 1 | -2/+2 |
| | |||||
* | 4343 | Kartik Agaram | 2018-07-14 | 5 | -1/+1 |
| | | | | | | | | | Let's minimize the alignment requirements of each segment's offset. It'll make binaries take less room later. Otherwise we may need to pad lots of 0s for segments after the first. Generated ELF binaries continue to work natively (except ex4, but that was already not working). | ||||
* | 4342 | Kartik Agaram | 2018-07-11 | 2 | -3/+5 |
| | |||||
* | 4341 | Kartik Agaram | 2018-07-10 | 1 | -0/+1 |
| | |||||
* | 4340 | Kartik Agaram | 2018-07-10 | 5 | -41/+123 |
| | | | | Start using data segments in scenarios. | ||||
* | 4339 | Kartik Agaram | 2018-07-10 | 4 | -101/+101 |
| | |||||
* | 4338 - preliminary support for data segments | Kartik Agaram | 2018-07-10 | 4 | -9/+38 |
| | |||||
* | 4337 | Kartik Agaram | 2018-07-10 | 2 | -59/+44 |
| | | | | | | | | Return to the usual whitespace-skipping istreams. No need to go beyond word-based parsing. This exercise reinforces the amount of duplication between load_program() and transform_immediate(). |