|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.usp.ime.hipo.hipomachine.HipoInstruction
edu.usp.ime.hipo.hipomachine.instructions.HipoREVInstruction
public class HipoREVInstruction
Instrução que inverte o valor do acumulador. Nesse caso pos não é utilizado.
| Field Summary |
|---|
| Fields inherited from class edu.usp.ime.hipo.hipomachine.HipoInstruction |
|---|
pos, processor |
| Constructor Summary | |
|---|---|
HipoREVInstruction(HipoProcessor processor,
int pos)
Construtor que simplesmente chama o construtor de HipoInstruction |
|
| Method Summary | |
|---|---|
void |
execute()
Inverte o valor do acumulador. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HipoREVInstruction(HipoProcessor processor,
int pos)
processor - O processador a ser usadopos - A posição que a instrução afeta| Method Detail |
|---|
public void execute()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||