What are the flags in 8086? - In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag, Trace flag, Interrupt flag, Direction flag, and Sign flag.
What are the various interrupts in 8086? - Maskable interrupts, Non-Maskable interrupts.
What is meant by Maskable interrupts? - An interrupt that can be turned off by the programmer is known as Maskable interrupt.
What is Non-Maskable interrupts? - An interrupt which can be never be turned off (ie.disabled) is known as Non-Maskable interrupt.
Which interrupts are generally used for critical events? - Non-Maskable interrupts are used in critical events. Such as Power failure, Emergency, Shut off etc.,
Give examples for Maskable interrupts? - RST 7.5, RST6.5, RST5.5 are Maskable interrupts
Give example for Non-Maskable interrupts? - Trap is known as Non-Maskable interrupts, which is used in emergency condition.
What is the Maximum clock frequency in 8086? - 5 Mhz is the Maximum clock frequency in 8086.
What are the various segment registers in 8086? - Code, Data, Stack, Extra Segment registers in 8086.
Which Stack is used in 8086? - FIFO (First In First Out) stack is used in 8086.In this type of Stack the first stored information is retrieved first.
What are the address lines for the software interrupts? -
RST 0
0000 H
RST1
0008 H
RST2
0010 H
RST3
0018 H
RST4
0020 H
RST5
0028 H
RST6
0030 H
RST7
0038 H
What is SIM and RIM instructions? - SIM is Set Interrupt Mask. Used to mask the hardware interrupts. RIM is Read Interrupt Mask. Used to check whether the interrupt is Masked or not.
Which is the tool used to connect the user and the computer? - Interpreter is the tool used to connect the user and the tool.
What is the position of the Stack Pointer after the PUSH instruction? - The address line is 02 less than the earlier value.
What is the position of the Stack Pointer after the POP instruction? - The address line is 02 greater than the earlier value.
Logic calculations are done in which type of registers? - Accumulator is the register in which Arithmetic and Logic calculations are done.
What are the different functional units in 8086? - Bus Interface Unit and Execution unit, are the two different functional units in 8086.
Give examples for Micro controller? - Z80, Intel MSC51 &96, Motorola are the best examples of Microcontroller.
What is meant by cross-compiler? - A program runs on one machine and executes on another is called as cross-compiler.
What are the address lines for the hardware interrupts? -
RST 7.5
003C H
RST 6.5
0034 H
RST 5.5
002C H
TRAP
0024 H
Which Segment is used to store interrupt and subroutine return address registers? - Stack Segment in segment register is used to store interrupt and subroutine return address registers.
Which Flags can be set or reset by the programmer and also used to control the operation of the processor? - Trace Flag, Interrupt Flag, Direction Flag.
What does EU do? - Execution Unit receives program instruction codes and data from BIU, executes these instructions and store the result in general registers.
Which microprocessor accepts the program written for 8086 without any changes? - 8088 is that processor.
What is the difference between 8086 and 8088? - The BIU in 8088 is 8-bit data bus & 16- bit in 8086.Instruction queue is 4 byte long in 8088and 6 byte in 8086.
A microprocessor is a processor in specific packaging, with all components on board. Most of the modern-day processors are sold as microprocessors, meaning that CPU, cache, etc. come in one package.
Perhapes,
TO maintain the packging symmety of 8086 which is 40 pin two GND pins are there. there is no specific use as per the interfacing with other periwares are concern.
What is use of RST5.5 ,RST6.5,RST7.5 in microprocessor?
RST5.5 is a maskable interrupt. When this interrupt is received the processor saves the contents of the PC register into stack and branches to 2Ch (hexadecimal) address.
RST6.5 is a maskable interrupt. When this interrupt is received the processor saves the contents of the PC register into stack and branches to 34h (hexadecimal) address.
RST7.5 is a maskable interrupt. When this interrupt is received the processor saves the contents of the PC register into stack and branches to 3Ch (hexadecimal) address.
@aleexain
Vss is usually the most negative point.
This might help..http://encyclobeamia.solarbotics.net/articles/vxx.html
@Dayanand Kumbhar
When a numebr is divided by 0, 8086 consider it as divide by zero error. It arise in case like
DIV BX ; this divies DX-AX by BX. If the quotient is too large to accomodate in AX
or
DIV BL; this divided AX by BL. If teh quotient is too large to accomodate in Al
In both the cases, it is considered to be divide by zero error.
INT 00H, i.e. interrupt type 0 is called for the divide by zero error. M not excatly sure what goes in AX/AL in that case, but i think that value remains unchanged.
@
29 Comments on 8086 interview questions
in 8086
itd not fifo for stack its lifo
its FIFO can never be implemented on a stack!!:P if its a fifo stack it is a queue not a stack
a stack must always be first in last out… :)
why do we call microprocessor as MICRO processor and why not only Processor
?
A microprocessor is a processor in specific packaging, with all components on board. Most of the modern-day processors are sold as microprocessors, meaning that CPU, cache, etc. come in one package.
The T flag expansion is TRAP flag and not TRACE flag.It is used for single stepping in the code.
18. Z80 is not a microcontroller but an 8-bit microprocessor.
#8.The maximum clock frequency of 8086 is upto 10MHz.
connect rst5.5 between rst6.5
why there r 2 gnd pins in 8086 microprocessor?
What is use of RST5.5 ,RST6.5,RST7.5 in microprocessor?
what is mean by VSS pin in 8085?
What is the requrement of two ground pins for 8086 ? I am eagerly looking for the answer
Perhapes,
TO maintain the packging symmety of 8086 which is 40 pin two GND pins are there. there is no specific use as per the interfacing with other periwares are concern.
I know some software interrupts like
mov ah,4cH
mov ah,09H
mov ah,3cH
etc………..
I wanted ALL SOFTWARE INTERRUPTS for
intel 8086 microprocessor,since we have it for Exams.
I hope someone will help me
Thanks……………………..
What are the main difference the 8086 and 8088 microprocessor?
How can we compare 8088 and 8086?
what will be the ouput if
mov ax,09h
mov bx,5h
add ax,bx
Non Maskable Interrupt is a…..
a) NMI
b) Software interrupts
c) Hardware interrupts
d) Software and hardware interrupt
NMI is hardware interrupt.
@richard
14h
@vinod
to supply(i.e +5V)
What is use of RST5.5 ,RST6.5,RST7.5 in microprocessor?
RST5.5 is a maskable interrupt. When this interrupt is received the processor saves the contents of the PC register into stack and branches to 2Ch (hexadecimal) address.
RST6.5 is a maskable interrupt. When this interrupt is received the processor saves the contents of the PC register into stack and branches to 34h (hexadecimal) address.
RST7.5 is a maskable interrupt. When this interrupt is received the processor saves the contents of the PC register into stack and branches to 3Ch (hexadecimal) address.
Q. What will happen when a number is divided by 0 in 8086 microprocessor?
what is the clock frequency of HPC 16 bit micro processor
@aleexain
Vss is usually the most negative point.
This might help..http://encyclobeamia.solarbotics.net/articles/vxx.html
@Dayanand Kumbhar
When a numebr is divided by 0, 8086 consider it as divide by zero error. It arise in case like
DIV BX ; this divies DX-AX by BX. If the quotient is too large to accomodate in AX
or
DIV BL; this divided AX by BL. If teh quotient is too large to accomodate in Al
In both the cases, it is considered to be divide by zero error.
INT 00H, i.e. interrupt type 0 is called for the divide by zero error. M not excatly sure what goes in AX/AL in that case, but i think that value remains unchanged.
@
8088 is a 8-bit microprocessor while 8086 is 16 bit.
8088 has instruction queue of 4 bytes whereas 8086 has a 6 byte queue
Hi,
1>What is the actual difference between macro and procedure?
2)What is the meaning of INT 21 interrupt
Why we named them 8086,8088,80286 and etc
[25].
8086 Vs 8088:
8086 prefetches only when atleast 2 bytes are free in queue
8088 prefetches only when atleast 1 byte is free in queue
Can anybody can find the number of bus cycles required for all instruction in 8086
1) What are Level triggered Interrupts?
2) What are Edge triggered Interrupts?
3) What are those Interrupts?
(IP)=200H, (CS)=1000H, (DS)=0005H, (SS)=0009H, (ES)=00004H, (AX)=4H, (BX)=7H, (CX)=3H, (DX)=8H, (SP)=100H, (BP)=9H
what will be the ouput if
mov SI, DX
add AX, [BX] ________
add AL, [BP][SI] ________
add AX, [BX+4][SI] ________