st7pmc2s6 STMicroelectronics, st7pmc2s6 Datasheet - Page 304

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 178. CPU addressing mode overview (continued)
11.1.1
All inherent instructions consist of a single byte. The opcode fully specifies all the required information for
the CPU to process the operation.
Table 179. Inherent instructions
304/371
Relative
Bit
Bit
Bit
Bit
NOP
TRAP
WFI
HALT
RET
IRET
SIM
RIM
SCF
RCF
RSP
LD
CLR
Push/pop
INC/DEC
TNZ
CPL, NEG
MUL
SLL, SRL, SRA, RLC, RRC
SWAP
Mode
Indirect
Direct
Indirect
Direct
Indirect Relative btjt [$10],#7,skip 00..FF
Inherent
Inherent instruction
Relative btjt $10,#7,skip
jrne [$10]
bset $10,#7
bset [$10],#7
ST7MC1K2-Auto, ST7MC1K6-Auto, ST7MC2S4-Auto, ST7MC2S6-Auto
Syntax
PC+/-127
00..FF
00..FF
00..FF
No operation
S/W interrupt
Wait for interrupt (low power mode)
Halt oscillator (lowest power mode)
Sub-routine return
Interrupt sub-routine return
Set interrupt mask (level 3)
Reset interrupt mask (level 0)
Set carry flag
Reset carry flag
Reset stack pointer
Load
Clear
Push/pop to/from the stack
Increment/decrement
Test negative or zero
1 or 2 complement
Byte multiplication
Shift and rotate operations
Swap nibbles
Destination
00..FF
00..FF
00..FF
Pointer address
(Hex.)
Function
byte
byte
byte
Pointer size
(Hex.)
+ 2
+ 1
+ 2
+ 2
+ 3
Length
(bytes)

Related parts for st7pmc2s6