hades.models.pic
Class TurboPicCore.RRF
java.lang.Object
hades.models.pic.TurboPicCore.PicInstruction
hades.models.pic.TurboPicCore.RRF
- Enclosing class:
- TurboPicCore
- class TurboPicCore.RRF
- extends TurboPicCore.PicInstruction
RRF F, D
the contents of register 0 < F <= 127 are rotated one bit right
through the carry flag.
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 C 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.RRF
TurboPicCore.RRF(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()