elec365 lab 01 tasm variables tables only

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 Variable Table 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 Data Segment Table Variable Offset Contents X1 0000 1E X2 X3 X4 X5 X6 X7 X8

Upload: saleh-ahmad

Post on 19-Jan-2016

4 views

Category:

Documents


0 download

DESCRIPTION

about Microprocessor

TRANSCRIPT

Page 1: ELEC365 Lab 01 TASM Variables Tables Only

– 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 iable Table

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 Data Segment Table

Variable Offset Contents

X1 0000 1E

X2

X3

X4

X5

X6

X7

X8

Page 2: ELEC365 Lab 01 TASM Variables Tables Only

– 2 – ELEC365: Microprocessors Lab

Fall 2012 Lab. Instructor: Amelle Bedair

Variable Offset Contents

X9

X10

X11

X12

[3] The Data Segment Address Table (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