Go to the source code of this file.
Functions | |
| static int | _sprint_operand (char *buf, int imm, uint32_t op, int *psr) |
| static int | _sprint_operands (char *buf, MOBJ_CMD *cmd) |
| static int | _sprint_operands_hex (char *buf, MOBJ_CMD *cmd) |
| int | mobj_sprint_cmd (char *buf, MOBJ_CMD *cmd) |
Variables | |
| static const char *const | psr_info [128] |
| static const char *const | insn_groups [4] |
| static const char *const | insn_group_branch [8] |
| static const char *const | insn_group_set [8] |
| static const char *const | insn_opt_set [32] |
| static const char *const | insn_opt_setsys [32] |
| static const char *const | insn_opt_cmp [16] |
| static const char *const | insn_opt_goto [16] |
| static const char *const | insn_opt_jump [16] |
| static const char *const | insn_opt_play [16] |
| static int _sprint_operand | ( | char * | buf, | |
| int | imm, | |||
| uint32_t | op, | |||
| int * | psr | |||
| ) | [static] |
Definition at line 175 of file mobj_print.c.
Referenced by _sprint_operands().
| static int _sprint_operands | ( | char * | buf, | |
| MOBJ_CMD * | cmd | |||
| ) | [static] |
Definition at line 196 of file mobj_print.c.
Referenced by mobj_sprint_cmd().
| static int _sprint_operands_hex | ( | char * | buf, | |
| MOBJ_CMD * | cmd | |||
| ) | [static] |
Definition at line 223 of file mobj_print.c.
Referenced by mobj_sprint_cmd().
| int mobj_sprint_cmd | ( | char * | buf, | |
| MOBJ_CMD * | cmd | |||
| ) |
Definition at line 238 of file mobj_print.c.
Referenced by _hdmv_trace_cmd().
const char* const psr_info[128] [static] |
Definition at line 27 of file mobj_print.c.
Referenced by _sprint_operands().
const char* const insn_groups[4] [static] |
{
"BRANCH",
"COMPARE",
"SET",
}
Definition at line 92 of file mobj_print.c.
const char* const insn_group_branch[8] [static] |
{
"GOTO",
"JUMP",
"PLAY",
}
Definition at line 98 of file mobj_print.c.
const char* const insn_group_set[8] [static] |
{
"SET",
"SETSYSTEM",
}
Definition at line 104 of file mobj_print.c.
const char* const insn_opt_set[32] [static] |
{
NULL,
"move",
"swap",
"add",
"sub",
"mul",
"div",
"mod",
"rnd",
"and",
"or",
"xor",
"bset",
"bclr",
"shl",
"shr",
}
Definition at line 109 of file mobj_print.c.
Referenced by mobj_sprint_cmd().
const char* const insn_opt_setsys[32] [static] |
{
NULL,
"SET_STREAM",
"SET_NV_TIMER",
"SET_BUTTON_PAGE",
"ENABLE_BUTTON",
"DISABLE_BUTTON",
"SET_SEC_STREAM",
"POPUP_OFF",
"STILL_ON",
"STILL_OFF",
}
Definition at line 128 of file mobj_print.c.
Referenced by mobj_sprint_cmd().
const char* const insn_opt_cmp[16] [static] |
{
NULL,
"bc",
"eq",
"ne",
"ge",
"gt",
"le",
"lt",
}
Definition at line 141 of file mobj_print.c.
Referenced by mobj_sprint_cmd().
const char* const insn_opt_goto[16] [static] |
{
"nop",
"goto",
"break",
}
Definition at line 152 of file mobj_print.c.
Referenced by mobj_sprint_cmd().
const char* const insn_opt_jump[16] [static] |
{
"JUMP_OBJECT",
"JUMP_TITLE",
"CALL_OBJECT",
"CALL_TITLE",
"RESUME"
}
Definition at line 158 of file mobj_print.c.
Referenced by mobj_sprint_cmd().
const char* const insn_opt_play[16] [static] |
{
"PLAY_PL",
"PLAY_PL_PI",
"PLAY_PL_MK",
"TERMINATE_PL",
"LINK_PI",
"LINK_MK"
}
Definition at line 166 of file mobj_print.c.
Referenced by mobj_sprint_cmd().
1.6.3