/* hp3000_cpu.c: HP 3000 Central Processing Unit simulator /* Program constants */ /* CPU global SCP data definitions */ /* CPU global data structures */ /* CPU registers */ /* Condition Code B lookup table. /* CPU global state */ /* CPU local state */ /* CPU local data structures */ /* Interrupt classification names */ /* Trap classification names */ /* CPU features table. /* CPU local SCP support routine declarations */ /* CPU local utility routine declarations */ /* CPU SCP data structures */ /* Unit list. /* Register list. /* Macro Name Location Radix Width Offset Flags */ /* Modifier list */ /* Debugging trace list */ /* Debugging stop list */ /* Device descriptor */ /* CPU global SCP support routines */ /* Execute CPU instructions. /* Instruction prelude */ /* Microcode abort processor */ /* Instruction loop */ /* Instruction postlude */ /* Execute the LOAD and DUMP commands. /* Execute the POWER commands. /* CPU global utility routines */ /* Process a run-mode interrupt. /* Set up a front panel operation. /* Update the process clock. /* CPU global instruction execution routines */ /* Push the stack down. /* Pop the stack up. /* Queue a value from memory up to the register file. /* Queue a value from the register file down to memory. /* Flush the register file. /* Adjust SR until it reaches a specified value. /* Write a stack marker to memory. /* Calculate an effective memory address. /* Convert a data- or program-relative byte address to a word effective address. /* Set up the entry into an interrupt handler. /* Set up an interrupt on the Interrupt Control Stack. /* Set up a code segment. /* Set up a data segment. /* Call a procedure. /* Return from a procedure. /* Start the dispatcher. /* CPU local SCP support routines */ /* Service the CPU process clock. /* Reset the CPU. /* Set the CPU simulation stop conditions. /* Change the instruction execution trace criteria. /* Set the CPU cold dump configuration jumpers. /* Change the CPU memory size. /* Change the CPU model. /* Change a CPU option. /* Change the power-fail auto-restart switch setting. /* Show the CPU simulation stop conditions. /* Show the instruction execution trace criteria. /* Show the CPU cold dump configuration jumpers. /* Show the current CPU simulation speed. /* CPU local utility routines */ /* Process a halt-mode interrupt. /* Execute one machine instruction.