|
FM8P54 Datasheet, PDF (33/50 Pages) List of Unclassifed Manufacturers – EPROM/ROM-Based 8-Bit Microcontroller Series | |||
|
◁ |
FEELING
TECHNOLOGY
FM8P54/56
RETIA
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
RLR
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
RRR
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
Return with Immediate in ACC
RETIA I
0 ⤠I ⤠255
I Ã ACC;
Top of Stack à PC
None
The ACC register is loaded with the 8-bit immediate âIâ. The program counter is loaded from
the top of the stack (the return address). This is a two-cycle instruction.
2
Return from Subroutine
RETURN
None
Top of Stack à PC
None
The program counter is loaded from the top of the stack (the return address). This is a
two-cycle instruction.
2
Rotate Left f through Carry
RLR R, d
0 ⤠R ⤠63
dâ [0,1]
R<7> Ã C;
R<6:0> Ã dest<7:1>;
C Ã dest<0>
C
The contents of register âRâ are rotated one bit to the left through the Carry Flag. If âdâ is 0 the
result is placed in the ACC register. If âdâ is 1 the result is stored back in register âRâ.
1
Rotate Right f through Carry
RRR R, d
0 ⤠R ⤠63
dâ [0,1]
C Ã dest<7>;
R<7:1> Ã dest<6:0>;
R<0> Ã C
C
The contents of register âRâ are rotated one bit to the right through the Carry Flag. If âdâ is 0 the
result is placed in the ACC register. If âdâ is 1 the result is placed back in register âRâ.
1
Rev1.21 May 31, 2005
P.33/FM8P54/56
|
▷ |