about summary refs log tree commit diff stats
path: root/subx/apps/factorial
Commit message (Collapse)AuthorAgeFilesLines
* 4537Kartik Agaram2018-09-071-0/+0
| | | | | | | | | | | | | | | 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.
* 4530 - create an apps/ directoryKartik Agaram2018-09-011-0/+0
create an apps/ directory' href='/akkartik/mu/commit/subx/gen?h=hlt&id=6ff9ce26e84f686a96ada723f63ce95879216cca'>6ff9ce26 ^
5f21a5e7 ^
86d8f1f3 ^
1
2
3
4
5
6
7
8
9
10
11