|
CP80S54 Datasheet, PDF (29/47 Pages) List of Unclassifed Manufacturers – EPROM/ROM-Based 8-Bit Microcontroller Series | |||
|
◁ |
CP80S54/56
BCR
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
BSR
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
BTRSC
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
BTRSS
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
CALL
Syntax:
Operands:
Operation:
Status Affected:
Description:
Cycles:
Clear Bit in R
BCF R, b
0 ⤠R ⤠63
0â¤bâ¤7
0 Ã R<b>
None
Clear bit âbâ in register âRâ.
1
Set Bit in R
BSR R, b
0 ⤠R ⤠63
0â¤bâ¤7
1 Ã R<b>
None
Set bit âbâ in register âRâ.
1
Test Bit in R, Skip if Clear
BTRSC R, b
0 ⤠R ⤠63
0â¤bâ¤7
Skip if R<b> = 0
None
If bit âbâ in register âRâ is 0 then the next instruction is skipped.
If bit âbâ is 0 then next instruction fetched during the current instruction execution is discarded,
and a NOP is executed instead making this a 2-cycle instruction..
1(2)
Test Bit in R, Skip if Set
BTRSS R, b
0 ⤠R ⤠63
0â¤bâ¤7
Skip if R<b> = 1
None
If bit âbâ in register âRâ is â1â then the next instruction is skipped.
If bit âbâ is â1â, then the next instruction fetched during the current instruction execution, is
discarded and a NOP is executed instead, making this a 2-cycle instruction.
1(2)
Subroutine Call
CALL I
0 ⤠I ⤠1023
PC +1 Ã Top of Stack;
I Ã PC<9:0>
PCHBUF<2> Ã PC<10>
None
Subroutine call. First, return address (PC+1) is pushed onto the stack. The 10-bit immediate
address is loaded into PC bits <9:0>. CALL is a two-cycle instruction.
2
Rev0.1 Nov 30, 2005
P.29/CP80S54/S56
|
▷ |