Forgot about the bloody IN instruction...
This commit is contained in:
@@ -39,6 +39,9 @@ Instruction instructions[OPCODECOUNT] = {
|
||||
CMP - 1000 0XXX CMP REG, REG
|
||||
- 1000 1XXX CMP REG, Constant
|
||||
- 1001 0XXX CMP REG, Address
|
||||
//Read from port specified by either a register or a constant
|
||||
IN - 1100 0XXX IN REG
|
||||
- 1101 0XXX IN Constant
|
||||
|
||||
OUT - 1111 1XXX OUT REG
|
||||
*/
|
||||
@@ -46,6 +49,7 @@ Instruction instructions[OPCODECOUNT] = {
|
||||
//ADD 010X XXXX
|
||||
//SUB 011X XXXX
|
||||
//CMP 100X XXXX
|
||||
//IN 110X XXXX
|
||||
//REG XXX0 0XXX
|
||||
//Constant XXX0 1XXX
|
||||
//Address XXX1 0XXX
|
||||
|
||||
Reference in New Issue
Block a user