|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfi.hu.cs.titokone.Interpreter
This class contains information common to various interpreters.
Field Summary | |
static java.lang.Integer |
ADDR
|
static java.lang.Integer |
ADDR_LESS_FETCHES
|
static int |
addressFieldLength
|
protected static java.lang.Object[][] |
addressingData
This field contains a two-dimensional array of translations between memory addressing types as integers and as symbols repressenting them. |
static int |
addressModeLength
|
protected static java.lang.Object[][] |
commandData
This field contains a two-dimensional array of translations between opcodes as integers, as symbolic command names and the variety of parameters they accept (nothing, one register (usually SP) only, two registers only or possibly two registers and possibly a memory address/constant). |
static java.lang.Integer |
FULL
|
static java.lang.Integer |
FULL_LESS_FETCHES
|
static java.lang.Integer |
NONE
This field represents one of the ranges of parameters a command might take. |
static int |
opcodeLength
This field specifies the opcode field length in number of bits. |
static java.lang.Integer |
REG
|
static java.lang.Integer |
REG_DEVICE
|
protected static java.lang.Object[][] |
registerData
This field contains a two-dimensional array of translations between register symbolic names and the integers used to represent them in numeric commands. |
static int |
registerFieldLength
|
static java.lang.Integer |
SP_ONLY
|
static java.lang.Integer |
SP_REG
|
static java.lang.Integer |
SVC
|
Constructor Summary | |
Interpreter()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int opcodeLength
public static final int addressModeLength
public static final int registerFieldLength
public static final int addressFieldLength
public static final java.lang.Integer NONE
public static final java.lang.Integer REG
public static final java.lang.Integer SP_REG
public static final java.lang.Integer SP_ONLY
public static final java.lang.Integer ADDR
public static final java.lang.Integer FULL
public static final java.lang.Integer FULL_LESS_FETCHES
public static final java.lang.Integer REG_DEVICE
public static final java.lang.Integer ADDR_LESS_FETCHES
public static final java.lang.Integer SVC
protected static final java.lang.Object[][] commandData
protected static final java.lang.Object[][] addressingData
protected static final java.lang.Object[][] registerData
Constructor Detail |
public Interpreter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |