about summary refs log tree commit diff stats
path: root/subx/015immediate_addressing.cc
Commit message (Collapse)AuthorAgeFilesLines
* 4886Kartik Agaram2018-12-281-2/+7
|
* 4830Kartik Agaram2018-12-031-0/+151
| | | | | | New helper: printing a byte in textual (hex) form. This required adding instructions for bitwise shift operations.
* 4717Kartik Agaram2018-10-241-9/+9
|
* 4695Kartik Agaram2018-10-141-25/+25
|
* 4694Kartik Agaram2018-10-131-16/+16
| | | | Check for duplicate docstrings.
* 4693Kartik Agaram2018-10-131-16/+16
| | | | | | | | Add the standard mnemonic for each opcode. We aren't ever going to have complete docs of the subset of the x86 ISA we support, so we need to help readers cross-correlate with the complete docs.
* 4692 - update online help for subxKartik Agaram2018-10-131-13/+13
| | | | | | It now includes details for 8-bit registers. And we'll just use the classic names for the registers so that the relationships between 8- and 32-bit versions are more obvious.
* 4688Kartik Agaram2018-10-121-18/+18
|
* 4687Kartik Agaram2018-10-121-8/+8
|
* 4634Kartik Agaram2018-10-011-24/+24
|
* 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