Package CPU.instructions
Class NULL
java.lang.Object
CPU.instructions.NULL
This is a "null" instruction - actually means that an illegal opcode will be "executed".
The purpose of this is to fill all remaining instructions in the CPU(s opcode table with this one.
Then, when this is called it means that there is an instruction that wasn't emulated yet.
This is better than to test at every loop iteration during program execution whether an opcode is null or not.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
register
(Instruction[] i_table, MC68000Cpu mcpu) This registers this instruction for all null elements in the table of instructions.
-
Constructor Details
-
NULL
public NULL()
-
-
Method Details
-
register
This registers this instruction for all null elements in the table of instructions.- Parameters:
i_table
- the table to register with.mcpu
- the cpu used.
-