/* Fill in the args. */
{
const op_type *args = q->args.nib;
- int hadone = 0;
int nargs;
for (nargs = 0;
sort_opcodes_and_setup_nibble_indices (struct h8_opcode *ops)
{
const struct h8_opcode *q;
- int *indices;
int i;
/* First sort the OPS array. */
int trace = 0;
int intMask = 0;
int oldmask;
- const struct h8300_sim_state *state = H8300_SIM_STATE (sd);
host_callback *sim_callback = STATE_CALLBACK (sd);
init_pointers (sd);
int no_of_args = 0; /* The no. or cmdline args. */
int current_location = 0; /* Location of string. */
int old_sp = 0; /* The Initial Stack Pointer. */
- int no_of_slots = 0; /* No. of slots required on the stack
- for storing cmdline args. */
int sp_move = 0; /* No. of locations by which the stack needs
to grow. */
int new_sp = 0; /* The final stack pointer location passed
sim_info (SIM_DESC sd, bool verbose)
{
sim_cpu *cpu = STATE_CPU (sd, 0);
- const struct h8300_sim_state *state = H8300_SIM_STATE (sd);
double timetaken = (double) h8_get_ticks (cpu) / (double) now_persec ();
double virttime = h8_get_cycles (cpu) / 10.0e6;
{
SIM_CPU *cpu = STATE_CPU (sd, 0);
int i = 0;
- int len_arg = 0;
int no_of_args = 0;
if (abfd != NULL)