st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 310

no-image

st7pmc2s6

Manufacturer Part Number
st7pmc2s6
Description
8-bit Mcu For Automotive With Nested Interrupts, Flash, 10-bit Adc, Brushless Motor Control, 5 Timers, Spi, Linsci?
Manufacturer
STMicroelectronics
Datasheet
Instruction set
Table 185. Instruction set overview
310/371
ADC
ADD
AND
BCP
BRES
BSET
BTJF
BTJT
CALL
CALLR
CLR
CP
CPL
DEC
HALT
IRET
INC
JP
JRA
JRT
JRF
JRIH
JRIL
JRH
JRNH
JRM
JRNM
JRMI
JRPL
JREQ
JRNE
JRC
JRNC
JRULT
JRUGE
Mnemo
Add with carry
Addition
Logical and
Bit compare A, memory
Bit reset
Bit set
Jump if bit is false (0)
Jump if bit is true (1)
Call subroutine
Call subroutine relative
Clear
Arithmetic compare
One complement
Decrement
Halt
Interrupt routine return
Increment
Absolute jump
Jump relative always
Jump relative
Never jump
Jump if ext. INT pin = 1
Jump if ext. INT pin = 0
Jump if H = 1
Jump if H = 0
Jump if I1:0 = 11
Jump if I1:0 <> 11
Jump if N = 1 (minus)
Jump if N = 0 (plus)
Jump if Z = 1 (equal)
Jump if Z = 0 (not equal) Z = 0 ?
Jump if C = 1
Jump if C = 0
Jump if C = 1
Jump if C = 0
Description
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
A = A + M + C
A = A + M
A = A . M
bres Byte, #3
bset Byte, #3
btjf Byte, #3, Jmp1
btjt Byte, #3, Jmp1
tst(Reg - M)
Pop CC, A, X, PC
jp [TBL.w]
H = 1 ?
Z = 1 ?
C = 1 ?
Unsigned <
Jmp if unsigned >=
tst (A . M)
A = FFH-A
dec Y
inc X
jrf *
(ext. INT pin high)
(ext. INT pin low)
H = 0 ?
I1:0 = 11 ?
I1:0 <> 11 ?
N = 1 ?
N = 0 ?
C = 0 ?
Function/example
A
A
A
A
M
M
M
M
reg, M
reg
reg, M
reg, M
reg, M
Dst
M
M
M
M
M
Src
I1
I1
1
H
H
H
H
I0
I0
0
N
N
N
N
N
N
N
N
N
N
0
Z
Z
Z
Z
Z
Z
Z
1
Z
Z
Z
C
C
C
C
C
C
C
1

Related parts for st7pmc2s6