From: Peep P. <so...@us...> - 2004-06-07 15:41:44
|
Update of /cvsroot/agd/server/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8193 Added Files: instr.h Log Message: Initial import. --- NEW FILE: instr.h --- #ifndef _INSTR_H #define _INSTR_H #define F_JUMP 1 /* Relative jump (jump forward by <n> instructions) */ #define F_JUMP_IF_FALSE 2 #define F_PUSH_INT 3 #define F_PUSH_STRING 4 #define F_PUSH_NULL_OBJECT 5 #define F_PUSH_VOID 6 /* For 'return;' */ #define F_PUSH_ARRAY 7 #define F_POP 10 /* Pops a variable off the stack. */ #define F_PUSH_LVAR 11 /* Pushes local variable <n> on stack. */ #define F_PUSH_LVAR_LVALUE 12 /* Pushes T_LVALUE to local var <n> */ #define F_PUSH_GVAR 13 /* Pushes global variable <n> on stack. */ #define F_PUSH_GVAR_LVALUE 14 #define F_RETURN 15 #define F_CALL_LFUN 16 #define F_CALL_DFUN 17 #define F_CALL_OTHER 18 #define F_ASSIGN 19 /* Pops two variables off the stack, and assigns upper one's value to the lower one. (the lower one should be a T_LVALUE) */ #define F_ADD 20 #define F_ADD_EQ 21 #define F_SUB 22 #define F_SUB_EQ 23 #define F_MUL 24 #define F_MUL_EQ 25 #define F_DIV 26 #define F_DIV_EQ 27 #define F_MOD 28 #define F_MOD_EQ 29 #define F_POW 30 #define F_POW_EQ 31 #define F_NOT 32 #define F_EQ 33 #define F_NE 34 #define F_GT 35 #define F_GE 36 #define F_LT 37 #define F_LE 38 #define F_NEG 39 #define F_AND 40 /* Have to keep these in because of check_operand() */ #define F_OR 41 /* */ #define F_POSTINC 42 #define F_PREINC 43 #define F_POSTDEC 44 #define F_PREDEC 45 #define F_INDEX 46 /* Single index into an array or string. */ #define F_INDEX_LVALUE 47 #define F_SLICE 48 #define F_SLICE_LVALUE 49 #define F_COMM 50 #define F_HIGHEST F_COMM #define F_NEWLINE 51 /* Increases the line number. Not used ATM. */ #endif |