Uploaded by Abdulkarem Badiea

EE390 Quiz1 212

advertisement
UNIVERSITY OF HA’IL
College of Engineering, Department of Electrical Engineering
Digital System EE390 - QUIZ 1
Spring Semester 2021-2022 (212), 16 Feb. 2022
Student's Full Name:
Student's ID:
Instructor: Dr. Amer AlGhadhban, Duration: 1/2 Hour, Weighting: 20 Marks
Marking Scheme
Question 1 (12 Marks)
Question 2 (8 Marks)
TOTAL (20 Marks)
Mark Awarded
Problem (1):
IMB
1) The 8086 microprocessor can support ________________ Byte of main
memory
2) Signed data of “0FH" is a positive or negative: ______________.
3) Can “456AAH” be a valid segment base address for any 64-KByte
segment: (yes/no): __________
4) The offset address is NO
stored in ________________ CPU register for a
particular memory location within the 64-KByte Code-segment area.
5) The offset address of source-data is stored in ____________ CPU
SI
register for a particular memory location within the Extra-segment area
positive
IP
6) What are the two main benefits of ROM?
a. Can store data more than RAM
b. Can store data faster than RAM
c. The width of its data bus is larger than RAM.
d. The speed of its data bus is faster than RAM.
e. It doesn’t lose it contents when you lose power
f. Store the code and settings that are necessary to start-up the digital
system
8
7) Why the processor has data registers?
a. To save the base address of the data.
b. To save the offset address of the data.
c. To save the base address of the next instruction.
d. To save the offset address of the next instruction.
e. To store the values of the variables that are being executed.
O
8) List four advantages of the microcontroller over the microprocessor?
1- RAM, ROM, CPU, I/O and timer are stored on a single chip.
2- Low power consumption
3- For applications in which cost, power and space are critical.
4- Instructions set focuses on control and bit-level operations.
9) If the value of CS is A000h and IP is 1234h what is the physical address
of the next instruction?
CSXIOA
A
10)
0000
413,1
a.
b.
O
c.
d.
e.
O
f.
O
11)
A 0000
PA A 123417
The ALU does the following: (select all appropriate answers)
Fetches an instruction from primary storage
Stores the result in a register.
Increments a pointer to the location of the next instruction
Retrieves the instruction code from a register
Separates the instruction into components-the instruction code (or
number) and the data inputs to the instruction
Retrieves data inputs from registers
What are the features of Application specific processors?
1 program memory
2
Optimized data path
3
Special functional units
Problem (2):
If an 8088 CPU register have DS=’AAA1H’, SI=’00ECH’, DI=‘00EDH’, Find
the following answers using the given table (if needed):
BAAOF
(a) the P.A. of the last (highest) storage location: ____________H
AAAI
(b) the logical address of the destination data: _______________
IOOEDH
A 998
(c) the value of the source data-word: _____________________ H
(d) the word of last question in ‘c’ is aligned or misaligned:
________________________ H
Aligned
P.A.
00000
00001
00002
00003
00004
AAAFB
AAAFC
AAAFD
AAAFE
AAAFF
a
11h10
FFF F t
BA Ao f
6 AAA
a
Content
AB
CD
EF
09
A7
89
98
A9
B9
D9
o
Download