st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 308

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
11.2
11.2.1
308/371
Instruction groups
Introduction
The ST7 family devices use an instruction set consisting of 63 instructions. The instructions
may be subdivided into 13 main groups as illustrated in the following table:
Table 184. Instruction groups
Using a prebyte
The instructions are described with one to four opcodes.
In order to extend the number of available opcodes for an 8-bit CPU (256 opcodes), three
different prebyte opcodes are defined. These prebytes modify the meaning of the instruction
they precede.
The whole instruction becomes:
PC-2
PC-1
PC
PC+1
Load and transfer
Stack operation
Increment/decrement
Compare and tests
Logical operations
Bit operation
Conditional bit test and branch
Arithmetic operations
Shift and rotates
Unconditional jump or call
Conditional branch
Interruption management
Condition code flag modification
Group
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
End of previous instruction
Prebyte
opcode
Additional word (0 to 2) according to the number of bytes required to
compute the effective address
LD
Push
INC
CP
AND
BSET
BTJT
ADC
SLL
JRA
JRxx
TRAP
SIM
CLR
Pop
DEC
TNZ
OR
BRES
BTJF
ADD
SRL
JRT
WFI
RIM
RSP
BCP
XOR
SUB
SRA
JRF
HALT
SCF
Instructions
CPL
RLC
JP
IRET
RCF
SBC
NEG
MUL
RRC
CALL CALLR
SWAP
SLA
NOP RET

Related parts for st7pmc2s6