English
Language : 

HPC46100 Datasheet, PDF (30/32 Pages) National Semiconductor (TI) – HPC46100 High-Performance microController with DSP Capability
HPC Instruction Set Description
Mnemonic
Description
Action
ARITHMETIC INSTRUCTIONS
ADD
ADC
SUB
SUBC
MULT
DIV
DIVD
IFEQ
IFGT
IFGE
IFGES
IFGTS
AND
OR
XOR
MACZ
MAC
MULS
ASHR
Add
Add with carry
Subtract without carry
Subtract with carry
Multiply (unsigned)
Divide (unsigned)
Divide Double Word (unsigned)
If equal
If greater than
If greater than or equal
If greater than or equal signed
If greater than signed
Logical and
Logical or
Logical exclusive-or
Multiply-accumulate From
Zero signed word
Multiple-accumulate signed word
Multiply signed
Arithmetic right
x x MAaMemI MA carry C
x x MAaMemIaC MA carry C
x MAbMemI MA
x x MAbMemIaC MA carry C
x MA MemI MA X 0xK 0xC
MA MemIMA rem xX 0xK 0xC
x x X MA MemIMA rem X 0K Carry C
Compare MA MemI Do next if equal
Compare MA MemI Do next if MA l MemI
Compare MA MemI Do next if MA e or l MemI
Signed compare MA MemI Do next if MA e or l MemI
Signed compare MA MemI Do next if MA l MemI
x MA and MemI MA
x MA or MemI MA
x MA xor MemI MA
x x 0 MRR Ba Xa aMRR MRR
x x OVERFLOW MVP or MVN IF BlK THEN A B
x x x Ba Xa aMRR MRR OVERFLOW MVP or MVN IF BlK then A B
x MA MemI MRR
x x MRR 2 IMM MRR or MRR 2 A MRR
MEMORY MODIFY INSTRUCTIONS
INC
DECSZ
Increment
Decrement skip if 0
x Mema1 Mem
x Memb1 Mem Skip next if Mem e 0
BIT INSTRUCTIONS
SBIT
RBIT
IFBIT
IFNBIT
Set bit
Reset bit
If bit
If not bit
1xMem bit
0xMem bit
If Mem bit is e 1 do next instruction
If Mem bit is e 0 do next instruction
MEMORY TRANSFER INSTRUCTIONS
LD
LD B
mode
LD X
mode
LD K
mode
ST
X
PUSH
FETCH
POP
LDS
XS
Load
Load incr decr X
Load B
Load X
Load K
Store to Memory
Exchange
Exchange incr decr X
Push Memory to Stack
Dummy read
Pop Stack to Memory
Load A incr decr B
Skip on condition
Exchange incr decr B
Skip on condition
MemIxMA
x x Mem(X) A Xg1 (or 2) X
MemIxB
MemIxX
MemIxK
AxMem
AxMem
x x A Mem(X) Xg1 (or 2) X
WxW(SP) SPa2xSP
Gen addressed byte is read and discarded
SPb2xSP W(SP)xW
x x Mem(B) A Bg1 (or 2) B
Skip next if B greater less than K
MEM(B)w xA x Bg1 (or 2) B
Skip next if B greater less than K
Notes W is 16-bit word of memory
MA is Accumulator A or direct memory (8- or 16-bit)
Mem is 8-bit byte or 16-bit word of memory
MemI is 8- or 16-bit memory or 8- or 16-bit immediate data
imm is 8-bit or 16-bit immediate data
imm8 is 8-bit immediate data only
30