opcodes.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define INCL_OPCODES   1
 Opcodes.h - Opcode definitions for Usecode.

Variables

const char UC_LOOPTOP = 0x02
const char UC_CONVERSE = 0x04
const char UC_JNE = 0x05
const char UC_JMP = 0x06
const char UC_CMPS = 0x07
const char UC_ADD = 0x09
const char UC_SUB = 0x0a
const char UC_DIV = 0x0b
const char UC_MUL = 0x0c
const char UC_MOD = 0x0d
const char UC_AND = 0x0e
const char UC_OR = 0x0f
const char UC_NOT = 0x10
const char UC_POP = 0x12
const char UC_PUSHTRUE = 0x13
const char UC_PUSHFALSE = 0x14
const char UC_CMPG = 0x16
const char UC_CMPL = 0x17
const char UC_CMPGE = 0x18
const char UC_CMPLE = 0x19
const char UC_CMPNE = 0x1a
const char UC_ADDSI = 0x1c
const char UC_PUSHS = 0x1d
const char UC_ARRC = 0x1e
const char UC_PUSHI = 0x1f
const char UC_PUSH = 0x21
const char UC_CMPEQ = 0x22
const char UC_CALL = 0x24
const char UC_RET = 0x25
const char UC_AIDX = 0x26
const char UC_RET2 = 0x2c
const char UC_SETR = 0x2d
const char UC_LOOP = 0x2e
const char UC_ADDSV = 0x2f
const char UC_IN = 0x30
const char UC_RTS = 0x32
const char UC_SAY = 0x33
const char UC_CALLIS = 0x38
const char UC_CALLI = 0x39
const char UC_PUSHITEMREF = 0x3e
const char UC_ABRT = 0x3f
const char UC_CONVERSELOC = 0x40
const char UC_PUSHF = 0x42
const char UC_POPF = 0x43
const char UC_PUSHB = 0x44
const char UC_POPARR = 0x46
const char UC_CALLE = 0x47
const char UC_PUSHEVENTID = 0x48
const char UC_ARRA = 0x4a
const char UC_POPEVENTID = 0x4b
const char UC_PUSHSTATIC = 0x50
const char UC_POPSTATIC = 0x51
const char UC_CALLO = 0x52


Define Documentation

#define INCL_OPCODES   1

Opcodes.h - Opcode definitions for Usecode.

Written: 1/1/01 - JSF

Definition at line 8 of file opcodes.h.


Variable Documentation

const char UC_ABRT = 0x3f

Definition at line 50 of file opcodes.h.

const char UC_ADD = 0x09

Definition at line 15 of file opcodes.h.

Referenced by Uc_binary_expression::eval_const(), and yyparse().

const char UC_ADDSI = 0x1c

Definition at line 31 of file opcodes.h.

const char UC_ADDSV = 0x2f

Definition at line 43 of file opcodes.h.

const char UC_AIDX = 0x26

Definition at line 39 of file opcodes.h.

Referenced by Uc_arrayelem_expression::gen_value().

const char UC_AND = 0x0e

Definition at line 20 of file opcodes.h.

Referenced by yyparse().

const char UC_ARRA = 0x4a

Definition at line 58 of file opcodes.h.

Referenced by yyparse().

const char UC_ARRC = 0x1e

Definition at line 33 of file opcodes.h.

Referenced by Uc_array_expression::gen_value().

const char UC_CALL = 0x24

Definition at line 37 of file opcodes.h.

Referenced by Uc_function_symbol::gen_call().

const char UC_CALLE = 0x47

Definition at line 56 of file opcodes.h.

Referenced by Uc_function_symbol::gen_call().

const char UC_CALLI = 0x39

Definition at line 48 of file opcodes.h.

Referenced by Uc_intrinsic_symbol::gen_call().

const char UC_CALLIS = 0x38

Definition at line 47 of file opcodes.h.

Referenced by Uc_intrinsic_symbol::gen_call().

const char UC_CALLO = 0x52

Definition at line 63 of file opcodes.h.

Referenced by Uc_function_symbol::gen_call().

const char UC_CMPEQ = 0x22

Definition at line 36 of file opcodes.h.

Referenced by yyparse().

const char UC_CMPG = 0x16

Definition at line 26 of file opcodes.h.

Referenced by yyparse().

const char UC_CMPGE = 0x18

Definition at line 28 of file opcodes.h.

Referenced by yyparse().

const char UC_CMPL = 0x17

Definition at line 27 of file opcodes.h.

Referenced by yyparse().

const char UC_CMPLE = 0x19

Definition at line 29 of file opcodes.h.

Referenced by yyparse().

const char UC_CMPNE = 0x1a

Definition at line 30 of file opcodes.h.

Referenced by yyparse().

const char UC_CMPS = 0x07

Definition at line 14 of file opcodes.h.

Referenced by Uc_response_expression::gen_jmp_if_false().

const char UC_CONVERSE = 0x04

Definition at line 11 of file opcodes.h.

const char UC_CONVERSELOC = 0x40

Definition at line 51 of file opcodes.h.

const char UC_DIV = 0x0b

Definition at line 17 of file opcodes.h.

Referenced by Uc_binary_expression::eval_const(), and yyparse().

const char UC_IN = 0x30

Definition at line 44 of file opcodes.h.

Referenced by yyparse().

const char UC_JMP = 0x06

Definition at line 13 of file opcodes.h.

const char UC_JNE = 0x05

Definition at line 12 of file opcodes.h.

Referenced by Uc_expression::gen_jmp_if_false().

const char UC_LOOP = 0x2e

Definition at line 42 of file opcodes.h.

const char UC_LOOPTOP = 0x02

Definition at line 10 of file opcodes.h.

const char UC_MOD = 0x0d

Definition at line 19 of file opcodes.h.

Referenced by yyparse().

const char UC_MUL = 0x0c

Definition at line 18 of file opcodes.h.

Referenced by Uc_binary_expression::eval_const(), and yyparse().

const char UC_NOT = 0x10

Definition at line 22 of file opcodes.h.

Referenced by yyparse().

const char UC_OR = 0x0f

Definition at line 21 of file opcodes.h.

Referenced by yyparse().

const char UC_POP = 0x12

Definition at line 23 of file opcodes.h.

Referenced by Uc_var_symbol::gen_assign().

const char UC_POPARR = 0x46

Definition at line 55 of file opcodes.h.

Referenced by Uc_arrayelem_expression::gen_assign().

const char UC_POPEVENTID = 0x4b

Definition at line 59 of file opcodes.h.

Referenced by Uc_event_expression::gen_assign().

const char UC_POPF = 0x43

Definition at line 53 of file opcodes.h.

Referenced by Uc_flag_expression::gen_assign().

const char UC_POPSTATIC = 0x51

Definition at line 62 of file opcodes.h.

Referenced by Uc_static_var_symbol::gen_assign().

const char UC_PUSH = 0x21

Definition at line 35 of file opcodes.h.

Referenced by Uc_var_symbol::gen_value().

const char UC_PUSHB = 0x44

Definition at line 54 of file opcodes.h.

const char UC_PUSHEVENTID = 0x48

Definition at line 57 of file opcodes.h.

Referenced by Uc_event_expression::gen_value().

const char UC_PUSHF = 0x42

Definition at line 52 of file opcodes.h.

Referenced by Uc_flag_expression::gen_value().

const char UC_PUSHFALSE = 0x14

Definition at line 25 of file opcodes.h.

Referenced by Uc_bool_expression::gen_value().

const char UC_PUSHI = 0x1f

Definition at line 34 of file opcodes.h.

Referenced by Uc_const_int_symbol::gen_value(), and Uc_int_expression::gen_value().

const char UC_PUSHITEMREF = 0x3e

Definition at line 49 of file opcodes.h.

Referenced by Uc_item_expression::gen_value().

const char UC_PUSHS = 0x1d

Definition at line 32 of file opcodes.h.

Referenced by Uc_string_symbol::gen_value(), Uc_string_prefix_expression::gen_value(), and Uc_string_expression::gen_value().

const char UC_PUSHSTATIC = 0x50

Definition at line 61 of file opcodes.h.

Referenced by Uc_static_var_symbol::gen_value().

const char UC_PUSHTRUE = 0x13

Definition at line 24 of file opcodes.h.

Referenced by Uc_bool_expression::gen_value().

const char UC_RET = 0x25

Definition at line 38 of file opcodes.h.

Referenced by Uc_function::gen().

const char UC_RET2 = 0x2c

Definition at line 40 of file opcodes.h.

const char UC_RTS = 0x32

Definition at line 45 of file opcodes.h.

const char UC_SAY = 0x33

Definition at line 46 of file opcodes.h.

const char UC_SETR = 0x2d

Definition at line 41 of file opcodes.h.

const char UC_SUB = 0x0a

Definition at line 16 of file opcodes.h.

Referenced by Uc_binary_expression::eval_const(), and yyparse().


Generated on Mon Jul 9 14:45:52 2007 for ExultEngine by  doxygen 1.5.1