Exemplo n.º 1
0
void op_restore1(void)
{
  if(!restoregame())
    mop_skip_branch();
  else
    mop_take_branch();
}
Exemplo n.º 2
0
void op_check_arg_count(void)
{
  if(stack_frames[frame_count].arguments >= operand[0])
    mop_take_branch();
  else
    mop_skip_branch();
}
Exemplo n.º 3
0
void op_save1(void)
{
  if(!savegame()) {
    mop_skip_branch();
  } else {
    mop_take_branch();
  }
}
Exemplo n.º 4
0
void op_push_stack(void)
{
  zword space = LOWORD(operand[1]);
  if(space) {
    LOWORDwrite(operand[1] + space * ZWORD_SIZE, operand[0]);
    LOWORDwrite(operand[1], space - 1);
    mop_take_branch();
  } else {
    mop_skip_branch();
  }
}