about summary refs log tree commit diff stats
path: root/subx/015immediate_addressing.cc
Commit message (Collapse)AuthorAgeFilesLines
* 4547Kartik Agaram2018-09-161-1/+1
|
* 4540Kartik Agaram2018-09-111-2/+2
|
* 4538Kartik Agaram2018-09-071-9/+9
|
* 4537Kartik Agaram2018-09-071-21/+40
| | | | | | | | | | | | | | | Streamline the factorial function; we don't need to save a stack variable into a register before operating on it. All instructions can take a stack variable directly. In the process we found two bugs: a) Opcode f7 was not implemented correctly. It was internally consistent but I'd never validated it against a natively running program. Turns out it encodes multiple instructions, not just 'not'. b) The way we look up imm32 operands was sometimes reading them before disp8/disp32 operands.
* 4469Kartik Agaram2018-08-031-0/+477