mirror of
https://github.com/pnx/m16vm
synced 2026-06-17 03:50:03 +02:00
src/instr: remove OP_SYSC_WR,OP_SYSC_RD in favor for OP_INT.
This commit is contained in:
parent
dca453457d
commit
837bd8f892
2 changed files with 2 additions and 5 deletions
|
|
@ -32,10 +32,7 @@
|
|||
#define OP_BEQ 6
|
||||
#define OP_JMP 7
|
||||
#define OP_JR 8
|
||||
|
||||
/* System calls */
|
||||
#define OP_SYSC_RD 14 /* read char from stdin */
|
||||
#define OP_SYSC_WR 15 /* write char to stdout */
|
||||
#define OP_INT 15
|
||||
|
||||
/* Register type */
|
||||
struct instr_R {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue