Sei sulla pagina 1di 2

1

ELEC365: Microprocessors Lab


Fall 2012
Lab. Instructor: Amelle Bedair
Qatar University
College of Engineering
Department of Electrical Engineering

Microprocessors Lab.
ELEC365
Fall 2012
Lab#1
Variable Declaration in an Assembly Program

[1] The Var i abl e Tabl e

Variable Name Type Initial Value Value (in Hex)
X1 Byte 30 1E
X2
X3
X4
X5
X6
X7
X8
X9
X10
X11
X12
[2] The Dat a Segment Tabl e

Variable Offset Contents
X1 0000 1E
X2
X3

X4
X5
X6

X7
X8


2
ELEC365: Microprocessors Lab
Fall 2012
Lab. Instructor: Amelle Bedair

Variable Offset Contents
X9



X10




X11




X12


[3] The Dat a Segment Addr ess Tabl e (Segment of address 1234H)

Variable Offset Logical Address Physical Address
X1 0000 1234:0000 12340
X2
X3
X4
X5
X6
X7
X8
X9
X10
X11
X12

Potrebbero piacerti anche