hades.models.pic
Class TurboPicCore.MOVF
java.lang.Object
hades.models.pic.TurboPicCore.PicInstruction
hades.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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
addr
int addr
d
int d
normal
boolean normal
storeIntoW
boolean storeIntoW
opcode
int opcode
mnemonic
java.lang.String mnemonic
TurboPicCore.MOVF
TurboPicCore.MOVF(int _f,
int _d)
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()