17.05.2015 Views

80C186EB 80C188EB Users Manual 1990 - Al Kossow's Bitsavers

80C186EB 80C188EB Users Manual 1990 - Al Kossow's Bitsavers

80C186EB 80C188EB Users Manual 1990 - Al Kossow's Bitsavers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

OVERVIEW OF THE 80C186 FAMILY MODULAR<br />

MICROPROCESSOR CORE ARCHITECTURE<br />

2.2.2.2 MEMORY ADDRESSING MODES<br />

<strong>Al</strong>though the ED has direct access to register and immediate operands, memory operands must be<br />

transferred to and from the CPD over the bus. When the ED needs to read or write a memory operand,<br />

it must pass an offset value to the BID. The BID adds the offset to the shifted contents of a segment<br />

register producing a 20-bitphysical address and then executes the bus cycle or.cycles needed to access<br />

the operand.<br />

The offset that the ED calculates for memory operand is called the operand's effective address or EA.<br />

This address is an unsigned 16-bit number that expresses the operand's distance in bytes from the<br />

beginning of the segment in which it resides. The ED can calculate the effective address in several<br />

ways. Information encoded in the second byte of the instruction tells the ED how to calculate the<br />

effective address of each memory operand. A compiler or assembler derives this information from the<br />

statement or instruction written by the programmer. Assembly language programmers have access to<br />

all addressing modes.<br />

The EU calculates the EA by summing a displacement, the content of a base register and the content<br />

of an index register (see Figure 2.12). Any combination of these three components may be present in<br />

a given instruction. This allows a variety of memory addressing modes.<br />

2-23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!