Add NOP ocpu instruction

This commit is contained in:
g1n 2021-11-07 11:48:15 +02:00
parent 87f63a5afd
commit 98a04392af
2 changed files with 3 additions and 0 deletions

View File

@ -657,6 +657,8 @@ void ocpu_execute() {
return;
}
break;
case INS_NOP:
break;
case 0x00:
return;
default:

View File

@ -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];