![Intel 8XC196NT User Manual Download Page 59](http://html1.mh-extra.com/html/intel/8xc196nt/8xc196nt_user-manual_2072210059.webp)
8XC196NT USER’S MANUAL
3-8
LD
AX,[BX]
; AX
←
MEM_WORD(BX)
ADDB AL,BL,[CX]
; AL
←
BL + MEM_BYTE(CX)
POP
[AX]
; MEM_WORD(AX)
←
MEM_WORD(SP)
; SP
←
SP + 2
3.2.3.1
Extended Indirect Addressing
Extended load and store instructions can use indirect addressing. The only difference is that the
register containing the indirect address must be a word-aligned 24-bit register to allow access to
the entire 1-Mbyte address space. The following instructions use extended indirect addressing:
ELD
AX, [EX]
; AX
←
MEM_WORD (EX)
ELDB AL, [EX]
; AL
←
MEM_BYTE (EX)
EST
AX, [EX]
; MEM_WORD (EX)
←
AX
ESTB AL, [EX]
; MEM_BYTE (EX)
←
AL
3.2.3.2
Indirect Addressing with Autoincrement
You can choose to automatically increment the indirect address after the current access. You spec-
ify autoincrementing by adding a plus sign (+) to the end of the indirect reference. In this case,
the instruction automatically increments the indirect address (by one if the destination is an 8-bit
register or by two if it is a 16-bit register). When your code is assembled, the assembler automat-
ically sets the least-significant bit of the indirect address register. The following instructions use
indirect addressing with autoincrement:
LD
AX,[BX]+
; AX
←
MEM_WORD(BX)
; BX
←
BX + 2
ADDB AL,BL,[CX]+
; AL
←
BL + MEM_BYTE(CX)
; CX
←
CX + 1
PUSH [AX]+
; SP
←
SP - 2
; MEM_WORD(SP)
←
MEM_WORD(AX)
; AX
←
AX + 2
3.2.3.3
Extended Indirect Addressing with Autoincrement
The extended load and store instructions can also use indirect addressing with autoincrement. The
only difference is that the register containing the indirect address must be a word-aligned 24-bit
register to allow access to the entire 1-Mbyte address space. The following instructions use ex-
tended indirect addressing with autoincrement:
ELD
AX, [EX]+
; AX
←
MEM_WORD (EX)
; EX
←
EX + 2
ELDB AL, [EX]+
; AL
←
MEM_BYTE (EX)
; EX
←
EX + 2
EST
AX, [EX]+
; MEM_WORD (EX)
←
AX
; MEM_WORD (EX)
←
MEM_WORD (EX + 2)
ESTB AL, [EX]+
; MEM_BYTE (EX)
←
AL
; MEM_BYTE (EX)
←
MEM_BYTE (EX + 2)
Summary of Contents for 8XC196NT
Page 1: ...8XC196NT Microcontroller User s Manual...
Page 2: ...8XC196NT Microcontroller User s Manual June 1995 Order Number 272317 003...
Page 22: ...1 Guide to This Manual...
Page 23: ......
Page 35: ......
Page 36: ...2 Architectural Overview...
Page 37: ......
Page 49: ......
Page 50: ...3 Programming Considerations...
Page 51: ......
Page 66: ...4 Memory Partitions...
Page 67: ......
Page 104: ...5 Standard and PTS Interrupts...
Page 105: ......
Page 147: ......
Page 148: ...6 I O Ports...
Page 149: ......
Page 176: ...7 Serial I O SIO Port...
Page 177: ......
Page 194: ...8 Synchronous Serial I O SSIO Port...
Page 195: ......
Page 211: ......
Page 212: ...9 Slave Port...
Page 213: ......
Page 231: ......
Page 232: ...10 Event Processor Array EPA...
Page 233: ......
Page 270: ...11 Analog to digital Converter...
Page 271: ......
Page 291: ......
Page 292: ...12 Minimum Hardware Considerations...
Page 293: ......
Page 306: ...13 Special Operating Modes...
Page 307: ......
Page 317: ......
Page 318: ...14 Interfacing with External Memory...
Page 319: ......
Page 362: ...15 Programming the Nonvolatile Memory...
Page 363: ......
Page 408: ...A Instruction Set Reference...
Page 409: ......
Page 476: ...B Signal Descriptions...
Page 477: ......
Page 493: ......
Page 494: ...C Registers...
Page 495: ......
Page 565: ......
Page 566: ...Glossary...
Page 567: ......
Page 580: ...Index...
Page 581: ......
Page 597: ......