about summary refs log tree commit diff stats
path: root/subx/examples/ex12.subx
Commit message (Collapse)AuthorAgeFilesLines
* switch to new syntax for segment headers in C++Kartik Agaram2019-05-181-2/+2
|
* 4973Kartik Agaram2019-02-151-6/+6
| | | | | Support immediate operands in the data segment in all the ways we support them in the code segment.
* 4893Kartik Agaram2018-12-301-2/+2
|
* 4886Kartik Agaram2018-12-281-1/+1
|
* 4824Kartik Agaram2018-12-031-2/+2
|
* 4808 - clean up comments in all subx filesKartik Agaram2018-11-301-2/+2
|
* 4802Kartik Agaram2018-11-301-4/+4
| | | | | | | | | | | | | | | | Some automated commenting cleanup. Still needs more careful manual scanning. sed -i 's/^# 1-3/# . 1-3/' *.subx */*.subx sed -i 's/^# op/# . op/' *.subx */*.subx sed -i 's/# vim/# . . vim/' *.subx */*.subx sed -i 's/^ # push args/ # . . push args/' *.subx */*.subx sed -i 's/^ # discard args/ # . . discard args/' *.subx */*.subx sed -i 's/^ # call/ # . . call/' *.subx */*.subx sed -i 's/^ # prolog/ # . prolog/' *.subx */*.subx sed -i 's/^ # epilog/ # . epilog/' *.subx */*.subx sed -i 's/^ # save registers/ # . save registers/' *.subx */*.subx sed -i 's/^ # restore registers/ # . restore registers/' *.subx */*.subx sed -i 's/ operand / register /' *.subx */*.subx
* 4801Kartik Agaram2018-11-301-25/+25
| | | | Reindent all SubX code to make some room for the new comment style.
* 4780Kartik Agaram2018-11-261-0/+1
|
* 4757Kartik Agaram2018-11-201-2/+2
| | | | | | Let's start highlighting all global variables in Red. Assembly programming has a tendency to over-use them. They're a necessary evil, but we should minimize the number of functions that access them.
* 4698Kartik Agaram2018-10-141-2/+2
|
* 4668Kartik Agaram2018-10-051-3/+3
|
* 4667Kartik Agaram2018-10-051-2/+2
| | | | | Standardize on hyphens in all names. And we'll use colons for namespacing labels in functions.
* 4662Kartik Agaram2018-10-051-1/+1
|
* 4644Kartik Agaram2018-10-011-3/+3
|
* 4639Kartik Agaram2018-10-011-3/+3
|
* 4624Kartik Agaram2018-09-301-1/+1
| | | | | | | | Start requiring a '-o' flag to designate the output binary when translating. Things currently get funky if you pass in multiple inputs, but that's ok. This is the first step to supporting multiple input files for a single output binary.
* 4619 - new syscall: mmap()Kartik Agaram2018-09-291-0/+43