Q31
Q31 A program enters an infinite loop after a jump instruction. What could be the cause?
Incorrect condition
Faulty registers
Power supply issue
Incorrect address
Q32
Q32 A microprocessor is unable to execute a conditional branch instruction. What could be the issue?
Faulty Control Unit
Incorrect comparison
Incorrect flags
Faulty ALU
Q33
Q33 What is an addressing mode?
A method to control data flow
A method to access data
A way to execute instructions
A way to control input/output devices
Q34
Q34 In immediate addressing mode, where is the operand located?
In the register
In memory
As part of the instruction itself
In the accumulator
Q35
Q35 In direct addressing mode, how is the memory address specified?
As an immediate value
Through a register
As part of the instruction
Using the accumulator
Q36
Q36 Which addressing mode uses a register to hold the memory address of the operand?
Direct
Immediate
Indirect
Indexed
Q37
Q37 What is indexed addressing mode used for?
Accessing I/O devices
Fetching data directly from memory
Accessing arrays and loops
Performing arithmetic operations
Q38
Q38 In which addressing mode does the microprocessor compute the operand's address using a base register and an offset?
Direct
Indirect
Base-Indexed
Immediate
Q39
Q39 In assembly, what does MOV AX, [5000H] represent?
Immediate addressing
Direct addressing
Indirect addressing
Indexed addressing
Q40
Q40 Which instruction in assembly would be used to access data using indirect addressing mode?
MOV AX, BX
MOV AX, [BX]
MOV AX, 1000H
MOV AX, [1000H]
Q41
Q41 What would the instruction ADD AX, [BX+4] do in base-indexed addressing mode?
Adds 4 to AX
Adds BX to AX
Adds the value at BX+4 to AX
Moves BX into AX
Q42
Q42 A microprocessor is unable to fetch the correct operand in indirect addressing mode. What could be the issue?
Faulty register
Incorrect instruction
Faulty ALU
Incorrect data type
Q43
Q43 A program using indexed addressing mode is accessing incorrect array elements. What could be the cause?
Incorrect base register
Faulty ALU
Incorrect stack pointer
Incorrect data bus
Q44
Q44 A system using base-indexed addressing mode is reading wrong data from memory. What might be the issue?
Incorrect offset
Faulty accumulator
Incorrect instruction
Incorrect ALU operation
Q45
Q45 Which instruction is used to transfer data from one register to another?
MOV
ADD
SUB
CMP
Q46
Q46 What does the XCHG instruction do in a microprocessor?
Moves data from memory to register
Exchanges contents of two registers
Subtracts two values
Compares two values
Q47
Q47 Which data transfer instruction copies a word of data from memory to the stack?
POP
PUSH
MOV
XCHG
Q48
Q48 What is the role of the POP instruction in data transfer?
Removes data from the stack
Pushes data onto the stack
Loads data into a register
Swaps data between registers
Q49
Q49 In a typical microprocessor, what does the instruction LEA stand for?
Load effective address
Load execute address
Load element array
Load event access
Q50
Q50 Which instruction transfers control to a subroutine in assembly language?
JMP
CALL
MOV
XCHG
Q51
Q51 Which assembly instruction is used to load data from memory into a register?
MOV
PUSH
POP
CALL
Q52
Q52 What does the INC AX instruction do in assembly language?
Subtracts 1 from AX
Clears AX
Increments AX by 1
Moves data into AX
Q53
Q53 In assembly language, what does the instruction DEC BX do?
Increments BX by 1
Decrements BX by 1
Adds 1 to BX
Substitutes BX with 1
Q54
Q54 What does the instruction ADD AX, [BX] do?
Adds the contents of BX to AX
Adds the value at memory location pointed by BX to AX
Adds BX to memory
Adds BX to itself
Q55
Q55 A system using the PUSH instruction is crashing. What might be the cause?
Incorrect address
Stack overflow
Faulty ALU
Incorrect memory size
Q56
Q56 A microprocessor is not correctly executing data transfer operations. What could be the issue?
Faulty data bus
Incorrect instruction
Stack pointer error
Faulty ALU
Q57
Q57 A system is failing to transfer data between memory and registers using the MOV instruction. What could be the issue?
Incorrect addressing mode
Faulty data bus
Overflow
Incorrect flags
Q58
Q58 What is the purpose of an interrupt in a microprocessor?
To stop all processes
To manage power
To handle input/output operations
To execute arithmetic operations
Q59
Q59 What happens when a microprocessor receives an interrupt request (IRQ)?
It completes the current task
It stops working
It ignores the request
It pauses the current task and executes the interrupt
Q60
Q60 Which register stores the address of the next instruction after an interrupt occurs?
Stack Pointer
Instruction Pointer
Program Counter
Base Register