Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please I want the solution for this exam . thank you Microprocessor and microcon

ID: 3876160 • Letter: P

Question

Please I want the solution for this exam . thank you

Microprocessor and microcontrollers 1. What instruction should we use to put the 4 low-order bits in AX at 1? (The other bits must not change and the initial value of the bits is unknown) 2. How do the DIV and MUL instructions change the DX register? 3. Represent a schematic diagram the internal structure of the Intel 8086 microprocessor 4. What should be the size of the address bus of a microprocessor so that it can access a memory of 6 KB (each box contains 1 byte) 5. RAM is called DRAM (Dynamic RAM) if: a. it requires periodic refreshing b. he can do several things at the same time c. None of these answers 6. Why the data bus is bidirectional? 7. The minimum number of bits needed to store the 3FF hexadecimal number is: a. b. 8 c. 12 d. 16 8. To copy the hexadecimal number A in the register Ah, you write: a. mov 0ah, ah b. mov ah, 0ah c. mov ah, ah d. mov ah, [ah] 9. Give the abbreviation and define CISC. 10. Write a program capable of performing the operation 2 (7 +5). we will use the instructions: Add, Sub and Mul which perform respectively an addition, a subtraction and a multiplication 11. Let an integer y (example: y = 6). Write a program in assembler that evaluates the following expression and store the result in memory at address 0132H:

Explanation / Answer

1)
MOV al,01h

2)

For MUL instruction:-
DX register is change depends upon the MUl operation ; if MUl operation is done between 16 bit or 32 bit operands then DX register stores higher 16 bit result or higher 32 bit result respectively.

For DIV instruction:-
DX register stores the remainder (modulus) of division operation between the operands

3)


4)
Atleast 23 bits address bus is needed to access a memory of 6 KB beacuse 23 bits address bus can access upto 8 kb and 22 bits address bus can access upto 4 Kb .So minimum requirement is 23 bits

5)
a.it required periodic refreshing

6)
data bus is bidirectional because it have transfer data both sides i.e it have read data as well as write data also.

7)
3FF is 10 bits minimum to represent.So according to the given options then the ansewer is 12 (c)

8)
b. mov ah,0ah

9)
CISC - complex instruction set computer

It is a processor design where any single instruction can execute several low-level operations