|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmuskel.util.mdfis
public class mdfis
| Constructor Summary | |
|---|---|
mdfis(Manager m,
Compute c,
int id)
Used to incrementally build the instruction |
|
| Method Summary | |
|---|---|
void |
addDest(int iid,
int pos)
adds a destination to the instruction currently being built |
void |
addInput()
increments the number of input tokens (default is 1) |
Mdfi |
getMDFi()
build the instruction as stored up to now |
static Mdfi |
simpleMDFi(Manager m,
Compute opc,
int id,
int pos,
int did)
prepares a new instruction, wiht a given code, identifier and destination (just one token in input and one in output) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public mdfis(Manager m,
Compute c,
int id)
m - the manager eventually running itc - the code to be executedid - the instruction id| Method Detail |
|---|
public static Mdfi simpleMDFi(Manager m,
Compute opc,
int id,
int pos,
int did)
m - the manager eventually running the applicationopc - the code to be computedid - the instruction idpos - the position in the dest instruction of the output tokendid - the identifier of the dest instruction
public void addDest(int iid,
int pos)
iid - the destination instruction idpos - the destination instruction input token positionpublic void addInput()
public Mdfi getMDFi()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||