mirror of
https://github.com/tuz358/cpu-emulator.git
synced 2025-12-18 21:14:35 +03:00
Add inc_r32(0x40~0x47) instruction in opcode_ff() function
This commit is contained in:
@@ -1175,8 +1175,8 @@ void Instructions::opcode_ff(){
|
|||||||
|
|
||||||
switch (this->R) {
|
switch (this->R) {
|
||||||
case 0:
|
case 0:
|
||||||
// TODO: add inc_r32() function
|
this->execute_opcode(0x40+this->M); // inc r32
|
||||||
// this->execute_opcode(0x40+this->M)
|
this->eip++;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
this->execute_opcode(0x48+this->M); // dec r32
|
this->execute_opcode(0x48+this->M); // dec r32
|
||||||
|
|||||||
Reference in New Issue
Block a user