jmce.sim
Interface Decoder
- All Known Implementing Classes:
- AbstractDecoder
public interface Decoder
Istruction decoder.
Decode one specific string in the opcode. The opcode use special
symbol to refer dinamyc data Ex %word to get a word from the current
program counter. All this special symbol are decoded using
Decoder
interface.
- Version:
- 1.00
- Author:
- Mario Viara
Method Summary |
int |
decode(CPU cpu,
CpuRuntime r,
int startPc,
int len,
int currentPc,
java.lang.StringBuffer line)
|
java.lang.String |
getPattern()
Return the managed pattern |
getPattern
java.lang.String getPattern()
- Return the managed pattern
decode
int decode(CPU cpu,
CpuRuntime r,
int startPc,
int len,
int currentPc,
java.lang.StringBuffer line)
throws SIMException
- Throws:
SIMException