INTRODUCTION

CODECODE

STACKSTACK

DATADATA

EXTRAEXTRA

DATA

SEGMENT

TO RELOCATE AN ENTIRE PROCESS MOVE THE CODE, STACK, AND DATA, AND UPDATE THE SEGMENT REGISTER CONTENTS TO POINT TO THE NEW AREAS.

MODE

IMMEDIATE

REGISTER

DIRECT

REGISTER INDIRECT

INDEXED OR BASED

BASED AND INDEXED WITH DISPLACEMENT

Figure 1-13. Process Relocation

LOCATION OF DATA

WITHIN INSTRUCTION

IN REGISTER

AT MEMORY LOCATION POINTED TO BY ADDRESS CONTAINED IN INSTRUCTION.

AT MEMORY LOCATION POINTED TO BY ADDRESS CONTAINED IN REGISTER.

AT MEMbRY LOCATION POINTED TO BY SUM OF INDEX REGISTER OR BASE REGISTER CONTENTS AND IMMEDIATE DATA CONTAINED IN INSTRUCTION.

MEMORY ADDRESS IS SUM OF BASE REGISTER CONTENTS AND INDEX REGISTER CONTENTS AND IMMEDIATE DATA.

THE LOCATION OF DATA IS REALLY THE LOGICAL ADDRESS, WHICH IS ADDED TO THE SEGMENT REGISTER VALUE TO FORM THE PHYSICAL MEMORY ADDRESS.

Figure 1-14. iAPX 88 Addressing Modes

1-8

Page 19
Image 19
Intel 210200-002 manual Process Relocation