|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectInstruction
public abstract class Instruction
Base class for PicoBlaze instruction factory.
| Constructor Summary | |
|---|---|
Instruction(java.lang.String[] opname,
int[] opcode)
Create new instruction initializing opcode map. |
|
| Method Summary | |
|---|---|
abstract int |
code(java.lang.String n,
java.util.Vector a,
Environment e)
Code instruction. |
static int |
translateAction(java.lang.String a)
Convert action name to value. |
static int |
translateCondition(java.lang.String c)
Convert condition name to value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Instruction(java.lang.String[] opname,
int[] opcode)
opname - opcode names arrayopcode - opcode values array| Method Detail |
|---|
public abstract int code(java.lang.String n,
java.util.Vector a,
Environment e)
n - instruction namea - instruction argument liste - assembly environment
public static int translateCondition(java.lang.String c)
c - condition name
public static int translateAction(java.lang.String a)
a - action name
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||