store.p so pointers can be moved around

This commit is contained in:
Bill Currie 2001-12-08 21:43:44 +00:00
parent b52606aed2
commit d344aea51f
2 changed files with 2 additions and 0 deletions

View file

@ -241,6 +241,7 @@ typedef enum {
OP_LEAI,
OP_LOAD_P,
OP_STORE_P,
} pr_opcode_e;
typedef struct

View file

@ -132,6 +132,7 @@ opcode_t pr_opcodes[] = {
{"=", "store.fld", OP_STORE_FLD, true, ev_field, ev_field, ev_void, PROG_ID_VERSION},
{"=", "store.fnc", OP_STORE_FNC, true, ev_func, ev_func, ev_void, PROG_ID_VERSION},
{"=", "store.i", OP_STORE_I, true, ev_integer, ev_integer, ev_void, PROG_VERSION},
{"=", "store.p", OP_STORE_P, true, ev_pointer, ev_pointer, ev_void, PROG_VERSION},
{"=", "storep.f", OP_STOREP_F, true, ev_float, ev_pointer, ev_void, PROG_ID_VERSION},
{"=", "storep.v", OP_STOREP_V, true, ev_vector, ev_pointer, ev_void, PROG_ID_VERSION},