Microprocessors Lab Viva Questions and Answers
Microprocessors Lab Viva Questions and Answers
1. What is a Microprocessor?
Microprocessor is a CPU fabricated on a single chip, program-controlled device,
which fetches the instructions from memory, decodes and executes the instructions.
3. What is Bandwidth?
The number of bits processed by the processor in a single instruction.
<4> Register Indirect:-The address of the memory location which contains data or
operand is determined in an indirect way.
<7> Based Indexed:-The effective address of the data is formed, in this addressing
mode, by adding content of a base register to the content of an index register.
<8> Relative Based Indexed:- The effective address is formed by adding an 8 or 16-
bit displacement with the sum of contents of any one of the base registers and any
one of the index registers, in the default segment.
<9> Intrasegment Direct Mode:-In this mode, the address to which the control is to
be transferred lies in the segment in which the control transfer instruction lies and
appears directly in the instruction as an immediate displacement value.
<10> Intrasegment Indirect Mode:-In this mode, the displacement to which the
control is to be transferred, is in the same segment in which the control transfer
instruction lies, but it is passed to the instruction indirectly.
<11> Intersegment Direct:-In this mode, the address to which the control is to be
transferred is in a different segment.
<12> Intersegment Indirect:-In this mode, the address to which the control is to be
transferred lies in a different segment and it is passed to the instruction indirectly
sequentially.
35.What is an Interrupts
Def.:- An interrupt operation suspends execution of a program so that the system
can take special action. The interrupt routine executes and normally returns control
to the interrupted procedure, which then resumes execution. BIOS handles Int 00H-
1FH, whereas DOS handles INT 20H-3FH.
37.What is an Operand?
A:-The data on which the operation is to be performed is called as an Operand.
41.What is an Instruction?
A:-An instruction is a binary pattern entered through an input device to command
the microprocessor to perform that specific function.
43.What is Assembler?
A:-The assembler translates the assembly language program text which is given as
input to the assembler to their binary equivalents known as object code.
The time required to translate the assembly code to object code is called access
time. The assembler checks for syntax errors and displays them before giving the
object code.
62. What is the difference between CPU bus and system bus?
The CPU bus has multiplexed lines but the system bus has separate lines for each
signal. (The multiplexed CPU lines are demultiplexed by the CPU interface circuit
to form system bus).
63.What is a port?
The port is a buffered I/O, which is used to hold the data transmitted from the
microprocessor to I/O device or vice-versa.
64.Give some examples of port devices used in 8085 microprocessor based system?
The various INTEL I/O port devices used in 8085 microprocessor based system are
8212, 8155, 8156, 8255, 8355 and 8755.
PROGRAMS ON MASM
Commands to be followed in DOS box to run MASM programs
mount c c:\masm
edit pgmname.asm
masm pgmname.asm
link pgmname.obj
debug pgmname.exe