參數(shù)資料
型號: HPC-DEV-SYS4
廠商: National Semiconductor Corporation
英文描述: High-Performance microController with A/D
中文描述: 高性能微控制器/數(shù)
文件頁數(shù): 31/39頁
文件大?。?/td> 430K
代理商: HPC-DEV-SYS4
HPC46164 CPU
(Continued)
Accumulator (A) Register
The 16-bit A register is the source and destination register
for most I/O, arithmetic, logic and data memory access op-
erations.
Address (B and X) Registers
The 16-bit B and X registers can be used for indirect ad-
dressing. They can automatically count up or down to se-
quence through data memory.
Boundary (K) Register
The 16-bit K register is used to set limits in repetitive loops
of code as register B sequences through data memory.
Stack Pointer (SP) Register
The 16-bit SP register is the pointer that addresses the
stack. The SP register is incremented by two for each push
or call and decremented by two for each pop or return. The
stack can be placed anywhere in user memory and be as
deep as the available memory permits.
Program (PC) Register
The 16-bit PC register addresses program memory.
Addressing Modes
ADDRESSING MODESDACCUMULATOR AS
DESTINATION
Register Indirect
This is the ‘‘normal’’ mode of addressing for the HPC46164
(instructions are single-byte). The operand is the memory
addressed by the B register (or X register for some instruc-
tions).
Direct
The instruction contains an 8-bit or 16-bit address field that
directly points to the memory for the operand.
Indirect
The instruction contains an 8-bit address field. The contents
of the WORD addressed points to the memory for the oper-
and.
Indexed
The instruction contains an 8-bit address field and an 8- or
16-bit displacement field. The contents of the WORD ad-
dressed is added to the displacement to get the address of
the operand.
Immediate
The instruction contains an 8-bit or 16-bit immediate field
that is used as the operand.
Register Indirect (Auto Increment and Decrement)
The operand is the memory addressed by the X register.
This mode automatically increments or decrements the X
register (by 1 for bytes and by 2 for words).
Register Indirect (Auto Increment and Decrement)
with Conditional Skip
The operand is the memory addressed by the B register.
This mode automatically increments or decrements the B
register (by 1 for bytes and by 2 for words). The B register is
then compared with the K register. A skip condition is gener-
ated if B goes past K.
ADDRESSING MODESDDIRECT MEMORY AS
DESTINATION
Direct Memory to Direct Memory
The instruction contains two 8- or 16-bit address fields. One
field directly points to the source operand and the other field
directly points to the destination operand.
Immediate to Direct Memory
The instruction contains an 8- or 16-bit address field and an
8- or 16-bit immediate field. The immediate field is the oper-
and and the direct field is the destination.
Double Register Indirect Using the B and X Registers
Used only with Reset, Set and IF bit instructions; a specific
bit within the 64 kbyte address range is addressed using the
B and X registers. The address of a byte of memory is
formed by adding the contents of the B register to the most
significant 13 bits of the X register. The specific bit to be
modified or tested within the byte of memory is selected
using the least significant 3 bits of register X.
HPC Instruction Set Description
Mnemonic
Description
Action
ARITHMETIC INSTRUCTIONS
ADD
ADC
ADDS
DADC
SUBC
DSUBC
MULT
DIV
DIVD
Add
Add with carry
Add short imm8
Decimal add with carry
Subtract with carry
Decimal subtract w/carry
Multiply (unsigned)
Divide (unsigned)
Divide Double Word (unsigned)
MA
a
MemI
x
MA
a
MemI
a
C
x
MA
A
a
imm8
x
A
MA
a
MemI
a
C
x
MA (Decimal)
MA
b
MemI
a
C
x
MA
MA
b
MemI
C
x
MA (Decimal)
MA
*
MemI
x
MA & X, 0
K, 0
x
C
MA/MemI
x
x
x
x
C
X & MA/MemI
x
MA, rem
x
X, 0
x
K, Carry
x
C
Compare MA & MemI, Do next if equal
Compare MA & MemI, Do next if MA
l
MemI
MA and MemI
x
MA
MA or MemI
x
MA
MA xor MemI
x
MA
carry
x
carry
x
C
carry
x
C
carry
x
C
carry
x
C
carry
x
C
IFEQ
IFGT
If equal
If greater than
AND
OR
XOR
Logical and
Logical or
Logical exclusive-or
MEMORY MODIFY INSTRUCTIONS
INC
DECSZ
Increment
Decrement, skip if 0
Mem
a
1
x
Mem
Mem
b
1
x
Mem, Skip next if Mem
e
0
31
相關(guān)PDF資料
PDF描述
HPC46004VF30 High-Performance microController with A/D
HPC-D Fuse
HPC16003 High-Performance microControllers
HPC16083 High-Performance microControllers
HPC26003 High-Performance microControllers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HPC-DEV-SYS4-E 制造商:NSC 制造商全稱:National Semiconductor 功能描述:High-Performance microController with A/D
HPC-DEV-WDBC 制造商:NSC 制造商全稱:National Semiconductor 功能描述:High-Performance Communications MicroController
HPCI-13S4LU 功能描述:模塊配件 ISAx7 PCIx4 PICMGx3 BACKPLANE AT/ATX PSU RoHS:否 制造商:Lantronix 產(chǎn)品: 用于:
HPCI-14S/ATX 功能描述:模塊配件 ISAx8 PCIx4 PICMGx2 BACKPLANE RoHS:否 制造商:Lantronix 產(chǎn)品: 用于:
HPCI-14S12U 功能描述:模塊配件 ISAx1 PCIx12 PICMGx2 BACKPLANE AT/ATX PSU RoHS:否 制造商:Lantronix 產(chǎn)品: 用于: