summaryrefslogtreecommitdiff
path: root/usr.bin/oemu
AgeCommit message (Collapse)Author
6 hoursoemu: cpu: Decode the BR instructionIan Moffett
Add support for interpreting the BR (branch) instruction. This instruction takes in a single register operand containing an address to reassign the instruction pointer to. Signed-off-by: Ian Moffett <ian@osmora.org>
6 hoursoemu: types: Add addr_t typeIan Moffett
The addr_t type represents any kind of memory address. We also assign paddr_t to addr_t. Signed-off-by: Ian Moffett <ian@osmora.org>
7 hoursoemu: cpu: Add link registers and SR_STATEIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
18 hoursoemu: cpu: Add CPU register dumpIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
19 hoursoemu: cpu: Introduce decoding logic for DIVIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
19 hoursoemu: cpu: Introduce decoding for MUL instructionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
20 hoursoemu: cpu: Introduce decoding logic for SUBIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
36 hoursoemu: cpu: Decode and process HLT instructionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
36 hoursoemu: cpu: Decode ADD instructionsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
41 hoursusr: Add initial OSMX64 emulator sourcesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>