参数资料
型号: HPC167064EL
厂商: National Semiconductor Corporation
英文描述: High-Performance microController with a 16k UV Erasable CMOS EPROM
中文描述: 高性能的16K的紫外线可擦除的CMOS存储器微控制器
文件页数: 21/34页
文件大小: 415K
代理商: HPC167064EL
HPC167064 CPU
The HPC167064 CPU has a 16-bit ALU and six 16-bit regis-
ters
Arithmetic Logic Unit (ALU)
The ALU is 16 bits wide and can do 16-bit add subtract and
shift or logic AND OR and exclusive OR in one timing cycle
The ALU can also output the carry bit to a 1-bit C register
Accumulator (A) Register
The 16-bit A register is the source and destination register
for most IO 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 MODESACCUMULATOR AS
DESTINATION
Register Indirect
This
is
the
‘‘normal’’
mode
of
addressing
for
the
HPC167064 (instructions are single-byte) The operand is
the memory addressed by the B register (or X register for
some instructions)
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 MODESDIRECT 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
Add
MAaMemI
xMA carryxC
ADC
Add with carry
MAaMemIaCMA carry
xC
ADDS
Add short imm8
Aaimm8
xA carryxC
DADC
Decimal add with carry
MAaMemIaC
xMA (Decimal) carryxC
SUBC
Subtract with carry
MAbMemIaC
xMA carryxC
DSUBC
Decimal subtract wcarry
MAbMemIaC
xMA (Decimal) carryxC
MULT
Multiply (unsigned)
MA MemI
xMAX 0xK 0xC
DIV
Divide (unsigned)
MAMemI
xMA remxX 0xK 0xC
DIVD
Divide Double Word (unsigned)
X
MAMemI
xMA remxX 0xK carryxC
IFEQ
If equal
Compare MA
MemI Do next if equal
IFGT
If greater than
Compare MA
MemI Do next if MA l MemI
AND
Logical AND
MA and MemI
xMA
OR
Logical OR
MA or MemI
xMA
XOR
Logical Exclusive-OR
MA xor MemI
xMA
MEMORY MODIFY INSTRUCTIONS
INC
Increment
Mem a 1
xMem
DECSZ
Decrement skip if 0
Mem b1
xMem Skip next if Mem e 0
28
相关PDF资料
PDF描述
HEDS-5500OPTIONG03 SINGLE, 2 CHANNELS, ROTARY OPTICAL POSITION ENCODER
HEDS-5500OPTIONH12 SINGLE, 2 CHANNELS, ROTARY OPTICAL POSITION ENCODER
HEDS-5605K03 SINGLE, 2 CHANNELS, ROTARY OPTICAL POSITION ENCODER
HLMA-QL00-TU011 T-3/4 SINGLE COLOR LED, AMBER, 1.78 mm
HLMP-EL25-TWK00 T-1 3/4 SINGLE COLOR LED, AMBER, 5 mm
相关代理商/技术参数
参数描述
HPC167064EL20 制造商:NSC 制造商全称:National Semiconductor 功能描述:High-Performance microController with a 16k UV Erasable CMOS EPROM
HPC1816A 制造商:HEWLETT PACKARD 功能描述:C1816A PHOTO INK CARTRIDGE
HPC1823D 制造商:HEWLETT PACKARD 功能描述:CARTRIDGE COLOUR 制造商:HEWLETT PACKARD 功能描述:CARTRIDGE, COLOUR
HPC1C100K 功能描述:陶瓷复合电阻器 1W 10K ohm 10% RoHS:否 制造商:KOA Speer 电阻:1 kOhms 容差:10 % 功率额定值:1 W 电压额定值:500 V 系列:PCF 温度系数:- 1200 PPM / K 端接类型:Axial 尺寸:5.5 mm Dia. x 16.5 mm L 工作温度范围:- 40 C to + 200 C 封装:Reel
HPC1C101K 功能描述:陶瓷复合电阻器 1W 100 ohm 10% RoHS:否 制造商:KOA Speer 电阻:1 kOhms 容差:10 % 功率额定值:1 W 电压额定值:500 V 系列:PCF 温度系数:- 1200 PPM / K 端接类型:Axial 尺寸:5.5 mm Dia. x 16.5 mm L 工作温度范围:- 40 C to + 200 C 封装:Reel