hades.models.pic
Class TurboPicCore.MOVF

java.lang.Object
  extended byhades.models.pic.TurboPicCore.PicInstruction
      extended byhades.models.pic.TurboPicCore.MOVF
Enclosing class:
TurboPicCore

class TurboPicCore.MOVF
extends TurboPicCore.PicInstruction

MOVF F, D move the contents of register 0 < F <= 127 to the W register for (D=0) and to F itself for (D=1). D=1 is useful to test a register, since Z is affected update Z flag 1 clock period


Field Summary
(package private)  int addr
           
(package private)  int d
           
(package private)  java.lang.String mnemonic
           
(package private)  boolean normal
           
(package private)  int opcode
           
(package private)  boolean storeIntoW
           
 
Constructor Summary
(package private) TurboPicCore.MOVF(int _f, int _d)
           
 
Method Summary
(package private)  void execute()
           
(package private)  int getOpcode()
           
(package private)  void setMnemonic(java.lang.String s)
           
(package private)  void setOpcode(int _opcode)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

addr

int addr

d

int d

normal

boolean normal

storeIntoW

boolean storeIntoW

opcode

int opcode

mnemonic

java.lang.String mnemonic
Constructor Detail

TurboPicCore.MOVF

TurboPicCore.MOVF(int _f,
                  int _d)
Method Detail

execute

final void execute()
Overrides:
execute in class TurboPicCore.PicInstruction

setOpcode

void setOpcode(int _opcode)

getOpcode

int getOpcode()

setMnemonic

void setMnemonic(java.lang.String s)

toString

public java.lang.String toString()