org.zmpp.vm
Class InstructionDecoder
java.lang.Object
org.zmpp.vm.InstructionDecoder
public class InstructionDecoder
- extends Object
The instruction decoder decodes an instruction at a specified address.
- Version:
- 1.0
- Author:
- Wei-ju Wu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstructionDecoder
public InstructionDecoder(Machine machineState,
MemoryReadAccess memaccess)
- Constructor.
- Parameters:
memaccess
- the memory access object
decodeInstruction
public AbstractInstruction decodeInstruction(int instructionAddress)
- Decode the instruction at the specified address.
- Parameters:
instructionAddress
- the current instruction's address
- Returns:
- the instruction at the specified address
Copyright © 2005 . All Rights Reserved.