about summary refs log tree commit diff stats
path: root/subx/012indirect_addressing.cc
Commit message (Collapse)AuthorAgeFilesLines
* 4085 - done with first cut of the SubX VMKartik K. Agaram2017-10-181-3/+3
| | | | subx: 'call' and 'return' instructions
* 4084Kartik K. Agaram2017-10-181-13/+6
| | | | | subx: extract helpers for 'push' and 'pop'. We will be using them in 'call' and 'ret' as well.
* 4083Kartik K. Agaram2017-10-181-0/+30
| | | | subx: 'pop'
* 4079Kartik K. Agaram2017-10-181-7/+34
| | | | subx: 'pop'
* 4069Kartik K. Agaram2017-10-151-0/+32
| | | | subx: unconditional 'jump'
* 4067Kartik K. Agaram2017-10-151-1/+34
| | | | subx: 'mov'
* 4066Kartik K. Agaram2017-10-141-1/+1
| | | | | | I spent a while spelunking into the code generated by C compilers before realizing that ignoring the order of arguments for 'cmp' instructions clarifies everything.
* 4065Kartik K. Agaram2017-10-141-0/+80
| | | | | | subx: 'compare' Hopefully I've implemented the 'sense' of comparisons right..
* 4064Kartik K. Agaram2017-10-141-30/+11
|
* 4058Kartik K. Agaram2017-10-131-0/+15
|
* 4057Kartik K. Agaram2017-10-131-0/+40
|
* 4056Kartik K. Agaram2017-10-131-0/+40
| | | | subx: 'or'
* 4055Kartik K. Agaram2017-10-131-0/+37
| | | | subx: Implement 'and' for the addressing modes we've built so far.
* 4053Kartik K. Agaram2017-10-121-2/+2
|
* 4051Kartik K. Agaram2017-10-121-0/+81
subx: Move register direct mode before indirect in the exposition.