summaryrefslogtreecommitdiff
path: root/usr.bin/oemu/cpu.c
AgeCommit message (Collapse)Author
15 min.oemu: cpu: Decode the BR instructionexptIan 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>
58 min.oemu: cpu: Add link registers and SR_STATEIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 hoursoemu: cpu: Add CPU register dumpIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 hoursoemu: cpu: Introduce decoding logic for DIVIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
13 hoursoemu: cpu: Introduce decoding for MUL instructionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
14 hoursoemu: cpu: Introduce decoding logic for SUBIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
30 hoursoemu: cpu: Decode and process HLT instructionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
31 hoursoemu: cpu: Decode ADD instructionsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
35 hoursusr: Add initial OSMX64 emulator sourcesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>