st62t18c STMicroelectronics, st62t18c Datasheet - Page 60
st62t18c
Manufacturer Part Number
st62t18c
Description
8-bit Mcus With A/d Converter, Auto-reload Timer, Uart, Osg, Safe Reset And 20-pin Package
Manufacturer
STMicroelectronics
Datasheet
1.ST62T18C.pdf
(82 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
ST62T18C/E18C
INSTRUCTION SET (Cont’d)
Conditional Branch. The branch instructions
achieve a branch in the program when the select-
ed condition is met.
Bit Manipulation Instructions. These instruc-
tions can handle any bit in data space memory.
One group either sets or clears. The other group
(see Conditional Branch) performs the bit test
branch operations.
Table 22. Conditional Branch Instructions
Notes
b.
e.
ee. 8 bit signed displacement in the range -126 to +129
Table 23. Bit Manipulation Instructions
Notes:
b.
rr.
Table 24. Control Instructions
Notes:
1.
*.
Table 25. Jump & Call Instructions
Notes:
abc. 12-bit address;
* .
60/82
60
JRC e
JRNC e
JRZ e
JRNZ e
JRR b, rr, ee
JRS b, rr, ee
SET b,rr
RES b,rr
NOP
RET
RETI
STOP (1)
WAIT
CALL abc
JP abc
.
3-bit address
5 bit signed displacement in the range -15 to +16<F128M>
3-bit address;
Data space register;
This instruction is deactivated<N>and a WAI T is automatically executed instead of a STOP if the watchdog function is selected.
Affected
Not Affected
Not Affected
Instruction
Instruction
:
Instruction
Instruction
C = 1
C = 0
Z = 1
Z = 0
Bit = 0
Bit = 1
Bit Direct
Bit Direct
Inherent
Inherent
Inherent
Inherent
Inherent
Extended
Extended
Addressing Mode
Addressing Mode
Addressing Mode
Branch If
Bytes
Bytes
Bytes
Bytes
2
2
1
1
1
1
3
3
2
2
1
1
1
1
1
Control Instructions. The control instructions
control the MCU operations during program exe-
cution.
Jump and Call. These two instructions are used
to perform long (12-bit) jumps or subroutines call
inside the whole program space.
rr.
* .
* . Not<M> Affected
. Affected. The tested bit is shifted into carry.
Data space register
Not Affected
Cycles
Cycles
Cycles
Cycles
4
4
2
2
2
2
5
5
4
4
2
2
2
2
2
Z
Z
Z
Z
*
*
*
*
*
*
*
*
*
*
*
*
*
*
Flags
Flags
Flags
Flags
C
C
C
C
*
*
*
*
*
*
*
*
*
*
*
*