參數(shù)資料
型號: HMS91C7134
英文描述: [Monitor]
中文描述: [顯示器]
文件頁數(shù): 22/86頁
文件大?。?/td> 1508K
代理商: HMS91C7134
HMS91C7134
22
November.2001 ver1.0
8.5 Addressing Mode
The addressing modes in HMS9xC7134 instruction set are as follows
Direct addressing
Indirect addressing
Register addressing
Register-specific addressing
Immediate constants addressing
Indexed addressing
Note that refer to “Chapter 22. Instruction Set” those addressing modes and related instructions.
(1) Direct addressing
In a direct addressing the operand is specified by an 8-bit address
field in the instruction. Only internal Data RAM and
SFRs(80~FFH RAM) can be directly addressed.
Example:
mov A, 3EH ; A
RAM[3E]
(2) Indirect addressing
In indirect addressing the instruction specifies a register which
contains the address of the operand. Both internal and external
RAM can be indirectly addressed. The address register for 8-bit
addresses can be R0 or R1 of the selected register bank, or the
Stack Pointer. The address register for 16-bit addresses can only
be the 16-bit “data pointer” register, DPTR.
Example:
mov @R1, 40H
;[R1]
H]
(3) Register addressing
The register banks, containing registers R0 through R7, can be
accessed by certain instructions which carry a 3-bit register spec-
ification within the opcode of the instruction. Instructions that ac-
cess the registers this way are code efficient, since this mode
eliminates an address byte. When the instruction is executed, one
of four banks is selected at execution time by the two bank select
bits in the PSW.
Example; mov PSW, #0001000B ; select Bank0
mov A, #30H
mov R1, A
(4) Register-specific addressing
Some instructions are specific to a certain register. For example,
some instructions always operate on the Accumulator, or Data
Pointer, etc., so no address byte is needed to point it. The opcode
itself does that.
A
04
PROG. MEMORY
3E
H
55
40
H
~
~
55
R1
PROG. MEMORY
相關PDF資料
PDF描述
HMS97C7134 [Monitor]
HMS97C8032 H8/SLP Series, 38799 Group, 4-ch 14-bit PWM, 2-ch 16-bit TPU, 16-bit AEC, RTC FP-100U; Vcc= 1.8 to 3.6 volts, Temp= -20 to 75 C; Package: PLQP0100KB-A
HMS99C51S 8-BIT SINGLE-CHIP MICROCONTROLLERS WITH EMBEDDED FLASH
HMS99C52S 8-BIT SINGLE-CHIP MICROCONTROLLERS WITH EMBEDDED FLASH
HMS99C54S 8-BIT SINGLE-CHIP MICROCONTROLLERS WITH EMBEDDED FLASH
相關代理商/技術(shù)參數(shù)
參數(shù)描述
HMS91C7432 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HMS91C7432 features and functions
HMS91C8032 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS97C7132 制造商:未知廠家 制造商全稱:未知廠家 功能描述:[Monitor]
HMS97C7134 制造商:未知廠家 制造商全稱:未知廠家 功能描述:[Monitor]
HMS97C8032 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS