about summary refs log tree commit diff stats
path: root/subx/apps/factorial.subx
Commit message (Collapse)AuthorAgeFilesLines
* 4554Kartik Agaram2018-09-201-2/+2
|
* 4537Kartik Agaram2018-09-071-5/+3
| | | | | | | | | | | | | | | 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.
* 4531 - automatically compute segment addressesKartik Agaram2018-09-011-1/+1
|
* 4530 - create an apps/ directoryKartik Agaram2018-09-011-0/+64