| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
subx: 'call' and 'return' instructions
|
|
|
|
|
| |
subx: extract helpers for 'push' and 'pop'. We will be using them in
'call' and 'ret' as well.
|
|
|
|
| |
subx: 'pop'
|
|
|
|
| |
subx: 'pop'
|
|
|
|
| |
subx: unconditional 'jump'
|
|
|
|
| |
subx: 'mov'
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
subx: 'compare'
Hopefully I've implemented the 'sense' of comparisons right..
|
| |
|
| |
|
| |
|
|
|
|
| |
subx: 'or'
|
|
|
|
| |
subx: Implement 'and' for the addressing modes we've built so far.
|
| |
|
|
subx: Move register direct mode before indirect in the exposition.
|