Computer Architecture Viva Questions
Computer Architecture Viva Questions
<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
bve transferred lies in the segment in which the control transfer instruction lies
and appears directly in the instruction as an immediate displacement value.
What is an Interrupt?
Def:- Interrupt is an external signal that causes a microprocessor to jump to a
specific subroutine.
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.
What is an Opcode?
A:-The part of the instruction that specifies the operation to be performed is called
the Operation code or Op code.
What is an Operand?
A:-The data on which the operation is to be performed is called as an Operand.
What is an Instruction?
A:-An instruction is a binary pattern enetered through an input device to command
the microprocessor to perform that specific function.
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&displays them before giving the
object code.