Add NOP ocpu instruction
This commit is contained in:
parent
87f63a5afd
commit
98a04392af
|
@ -657,6 +657,8 @@ void ocpu_execute() {
|
|||
return;
|
||||
}
|
||||
break;
|
||||
case INS_NOP:
|
||||
break;
|
||||
case 0x00:
|
||||
return;
|
||||
default:
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#define INS_ADD_REG 0xB0
|
||||
#define INS_INC 0x15
|
||||
#define INS_DEC 0x16
|
||||
#define INS_NOP 0x90
|
||||
|
||||
struct OCPU_MEMORY {
|
||||
byte memory[MAX_MEMORY];
|
||||
|
|
Loading…
Reference in New Issue