Add immediate ADC ocpu instruction
This commit is contained in:
parent
4d0f8d0b6a
commit
bbd0aae6be
|
@ -38,6 +38,14 @@
|
|||
#define INS_MOV_REG 0xA1
|
||||
#define INS_ADD_IM 0x10
|
||||
#define INS_ADD_REG 0xB0
|
||||
#define INS_ADC_IM 0x11
|
||||
#define INS_ADC_REG 0xB1
|
||||
#define INS_SUB_IM 0x12
|
||||
#define INS_SUB_REG 0xB2
|
||||
#define INS_MUL_IM 0x13
|
||||
#define INS_MUL_REG 0xB3
|
||||
#define INS_DIV_IM 0x14
|
||||
#define INS_DIV_REG 0xB4
|
||||
#define INS_INC 0x15
|
||||
#define INS_DEC 0x16
|
||||
#define INS_OCPU_NOP 0x90
|
||||
|
|
838
src/ocpu/ocpu.c
838
src/ocpu/ocpu.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue