Commit Graph

14 Commits

Author SHA1 Message Date
Kartik K. Agaram 8a0268317f 4084
subx: extract helpers for 'push' and 'pop'. We will be using them in
'call' and 'ret' as well.
2017-10-18 02:27:56 -07:00
Kartik K. Agaram 099ed980c4 4083
subx: 'pop'
2017-10-18 02:13:34 -07:00
Kartik K. Agaram 9e45873ff4 4079
subx: 'pop'
2017-10-18 00:57:46 -07:00
Kartik K. Agaram 95e5511ab8 4069
subx: unconditional 'jump'
2017-10-15 01:59:11 -07:00
Kartik K. Agaram 125bea475f 4067
subx: 'mov'
2017-10-15 00:06:37 -07:00
Kartik K. Agaram 311297cb00 4066
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.
2017-10-14 23:35:00 -07:00
Kartik K. Agaram c67ca4b926 4065
subx: 'compare'

Hopefully I've implemented the 'sense' of comparisons right..
2017-10-14 23:00:05 -07:00
Kartik K. Agaram 0cb3c774b2 4064 2017-10-14 19:18:51 -07:00
Kartik K. Agaram 5a25c6e66f 4058 2017-10-13 01:24:13 -07:00
Kartik K. Agaram 8745e7456a 4057 2017-10-13 01:13:33 -07:00
Kartik K. Agaram ce31518788 4056
subx: 'or'
2017-10-13 01:05:53 -07:00
Kartik K. Agaram 280f511546 4055
subx: Implement 'and' for the addressing modes we've built so far.
2017-10-13 00:54:59 -07:00
Kartik K. Agaram f829120a62 4053 2017-10-12 23:50:00 -07:00
Kartik K. Agaram 9e0ec84fb8 4051
subx: Move register direct mode before indirect in the exposition.
2017-10-12 23:38:02 -07:00