|
||||||||||
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.HipoLDAInstruction
public class HipoLDAInstruction
Carrega no acumulador o conteúdo da célula de memória.
Field Summary |
---|
Fields inherited from class edu.usp.ime.hipo.hipomachine.HipoInstruction |
---|
pos, processor |
Constructor Summary | |
---|---|
HipoLDAInstruction(HipoProcessor processor,
int pos)
Construtor que simplesmente chama o construtor de HipoInstruction |
Method Summary | |
---|---|
void |
execute()
Muda o valor do acumulador para refletir a posicção de memória. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HipoLDAInstruction(HipoProcessor processor, int pos)
processor
- O processador a ser usadopos
- A posição que a instrução afetaMethod Detail |
---|
public void execute()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |