|
CP80S54 Datasheet, PDF (35/47 Pages) List of Unclassifed Manufacturers – EPROM/ROM-Based 8-Bit Microcontroller Series | |||
|
◁ |
CP80S54/56
SLEEP
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
SBCAR
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
SUBAR
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
SUBIA
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
SWAPR
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
Enter SLEEP Mode
SLEEP
None
00h à WDT;
00h à WDT prescaler;
1 Ã TO ;
0 Ã PD
TO , PD
Time-out status bit ( TO ) is set. The power-down status bit ( PD ) is cleared. The WDT and its
prescaler are cleared.
The processor is put into SLEEP mode.
1
Subtract ACC from R with Carry
SBCAR R, d
0 ⤠R ⤠63
dâ [0,1]
R + ACC + C Ã dest
C, DC, Z
Add the 2âs complement data of the ACC register from register âRâ with Carry. If âdâ is 0 the
result is stored in the ACC register. If âdâ is 1 the result is stored back in register âRâ.
1
Subtract ACC from R
SUBAR R, d
0 ⤠R ⤠63
dâ [0,1]
R - ACC Ã dest
C, DC, Z
Subtract (2âs complement method) the ACC register from register âRâ. If âdâ is 0 the result is
stored in the ACC register. If âdâ is 1 the result is stored back in register âRâ.
1
Subtract ACC from Immediate
SUBIA I
0 ⤠I ⤠255
I - ACC Ã ACC
C, DC, Z
Subtract (2âs complement method) the ACC register from the 8-bit immediate âIâ. The result is
placed in the ACC register.
1
Swap nibbles in R
SWAPR R, d
0 ⤠R ⤠63
dâ [0,1]
R<3:0> Ã dest<7:4>;
R<7:4> Ã dest<3:0>
None
The upper and lower nibbles of register âRâ are exchanged. If âdâ is 0 the result is placed in
ACC register. If âdâ is 1 the result in placed in register âRâ.
1
Rev0.1 Nov 30, 2005
P.35/CP80S54/S56
|
▷ |