Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Assignment 6

Lana sharabati
161015

1- If an 8086-based microcomputer is running at 8MHz with two wait


states, how long does it take to perform the interrupt-acknowledge bus
cycle sequence?
T = 1/8 = 0.125ms
4+2+2+4=12
12 *0.125 = 1.5ms

2- If the instruction INT 60H is to pass control to a subroutine


address FF400H in the code segment starting at address FF000H,
what vector should be loaded into the interrupt vector table? 
IP = FF400H-FF000H = 0400H
CS = FF00H

3- At what address would the vector for the instruction INT 60H be stored in


memory? 
IP 182
CS 180

4- What is the address from where the first instruction is fetched by the


microprocessor after reset has been applied?
FFFF0H

5- Write a reset subroutine that initializes the block of memory locations


from address 0F000H to 0F0AAH  to 00H. The initialization routine is at
address 01000H.  
REST: MOV AX,0
MOV DS,AX
MOV CX,ABH
MOV DI,0F00H
NXT : MOV [DI],0
INC DI
DEC CX
JNZ NXT
RET

6- In question 4 above, Write the instruction that should be stored in this


location
BOOTSTRAP CODE

You might also like