Professional Documents
Culture Documents
Signature:--------------------------------------------------------
Date:---------------------------------------------------------------
Question 1: Numbering System (you must show your work):
Answer:
Answer:
Answer:
Answer:
Answer:
Question 2: Microprocessor Memory:
Determine the amount of ROM, EPROM, and RAM in kilobytes for the following
memory map shown in the figure below:
For each of the following memory sizes below, determine the minimum number
of address bits required. Show in hexadecimal the 5 highest addresses of each
memory size given:
a. 32k bytes.
b. 53k bytes.
c. 2.3k bytes.
MVI H, 22
MVI L, 44
SHLD 1200
LXI H, FFEE
SHLD 1202
LHLD 1200
MOV A, L
MOV B, H
A B H L
MVI L, 44
SHLD 1200
LXI H, FFEE
SHLD 1202
LHLD 1200
MOV A, L
MOV B, H
Question 5: Assembly Language:
What is the final result in registers A, D, E and memory after executing the
following assembly program:
Memory
MVI A, 20
STA 2001
20C4
MVI A, C1
STA 2000 20C3
LHLD 2000
MOV M, H 20C2
MOV A, L
XCHG 20C1
STAX D
MVI E, C2
STAX D
.
2003
2002
A D E
2001
2000
Question 6: Addressing Modes: