stage1 部分功能测试00,01,02,06成功
This commit is contained in:
@@ -40,6 +40,7 @@ typedef enum {
|
||||
X(SPL_DROP, "drop", 0, 1, 0, "discard top of stack") \
|
||||
X(SPL_SWAP, "swap", 0, 2, 2, "swap top two elements") \
|
||||
X(SPL_PICK, "pick", 1, 0, 1, "push copy of stack[imm] (0=TOS)") \
|
||||
X(SPL_ROT, "rot", 0, 3, 3, "rotate top three (a b c -- b c a)") \
|
||||
/* 算术 */ \
|
||||
X(SPL_ADD, "add", 0, 2, 1, "integer addition") \
|
||||
X(SPL_SUB, "sub", 0, 2, 1, "integer subtraction") \
|
||||
|
||||
Reference in New Issue
Block a user