0% found this document useful (0 votes)
77 views1 page

Tutorial 2 - KE26604 Computer Architecture & Microprocessors (CAM)

The document provides instructions for a tutorial on computer architecture and microprocessors. It includes problems to calculate physical addresses from logical addresses for an 80386 microprocessor, define terms related to assembly language, describe the structure of assembly language programs and instructions, explain addressing modes for the 80386 with examples, describe the operation of various instructions, determine physical memory addresses for instructions given register values, design a program to accept and convert a sentence to uppercase using pseudocode and flowcharts, and convert decimal values to 32-bit and 64-bit floating point numbers in hexadecimal.

Uploaded by

HafizHumble
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views1 page

Tutorial 2 - KE26604 Computer Architecture & Microprocessors (CAM)

The document provides instructions for a tutorial on computer architecture and microprocessors. It includes problems to calculate physical addresses from logical addresses for an 80386 microprocessor, define terms related to assembly language, describe the structure of assembly language programs and instructions, explain addressing modes for the 80386 with examples, describe the operation of various instructions, determine physical memory addresses for instructions given register values, design a program to accept and convert a sentence to uppercase using pseudocode and flowcharts, and convert decimal values to 32-bit and 64-bit floating point numbers in hexadecimal.

Uploaded by

HafizHumble
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Tutorial 2 KE26604

Computer Architecture & Microprocessors (CAM)

1. For each of the following Logical addresses of 80386 microprocessor, calculate the Physical
address of the memory:
i. 1000:1234H
ii. 23FB:FAB3H
iii. 1234:FFB3H
iv. 1000:12FAH
v. F000:1245H
vi. F300:3467H
vii. 10FF: 1144H
viii. 3FFF:1234H
2. Briefly, defined the following terms:
i. Assembler
ii. Assembler Directives
iv. Source code
v. Object code

iii. Linker
vi. Text Editor

3. Describe the structure of an assembly language program and its statement.


4. With the help of an appropriate diagram and example, explain in detailed the following
addressing modes of 80386 microprocessor:
i.
Register addressing
ii.
Register Indirect addressing
iii. Base-plus-Index addressing
iv.
Base Relative plus Index Addressing
5. Briefly, describe the operation of each of the following instructions :
a. PUSH AX
b. POP AX
c. XCHG AX, BX
d. ADD AX, [BX] e. X-OR AX, 0Fh
f. BSF AX, [BX + DI]
g. LOADSW
h. STOSD
i. MOVSB
j. REP MOVSB
k. INC CX
l. SUB AX, [BX]
m. DEC LIST
n. ADC LIST, [BX] o. MUL BX
6. Given that DS = F000H, BX = C300H, DI = 00A3H and LIST = 0100H, determine the
physical memory address accessed by each of the following instructions assuming real-mode
operations :
i. MOV AX, LIST[BX + DI]
ii. ADD CX, LIST[DI]
iii. AND AX, [BX + 100]
iv. SUB AX, [BX + DI]
7. A program that perform the following tasks:
Accept a long sentence
Convert it to upper case
Display the result on the screen
Design this assembly program using flowchart and pseudocode only.
8. What decimal value is represented by the following 32-bit floating point number given in
hexadecimal form?
i. C17B000016
ii. BBC8000116
iii. A17B000016
iii. 89AF00FF16
9.

Express the following number as a 32-bit and 64-bit floating point number in hexadecimal
form.
i. 36.562510
ii. 65.875610
iii. 198.778510
iv. 1234. 5678910
1

You might also like