feat(runtime): Implement add sub mult and div opcodes
Implement calculation of add sub mult and div operations
This commit is contained in:
parent
780042035c
commit
896d2c6f7b
3 changed files with 121 additions and 2 deletions
10
runtime/BinCmdMap.h
Normal file
10
runtime/BinCmdMap.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#ifndef BIN_CMD_MAP
|
||||
#define BIN_CMD_MAP
|
||||
|
||||
#define CMD_CONST 0x0001
|
||||
#define CMD_ADD 0x0004
|
||||
#define CMD_SUB 0x0005
|
||||
#define CMD_MULT 0x0006
|
||||
#define CMD_DIV 0x0007
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue