NEW
Font size
WorksheetsMPMC 2024-25 ISE-I
Total questions: 20
Worksheet time: 20mins
What is true about Program counter in a real-world scenario?
It stores the result of arithmetic and logic operations
It determines the output of the program
It is used to store user input
It indicates the address of the next instruction to be executed.
For a computer science student, the following program is executed :
MVI A, 05 H
MVI B, 05 H
PTR: ADD B
DCR B
JNZ PTR
ADI 03 H
HLT
At the end of the program, accumulator contains
2EH
17H
23H
20H
The contents of register (B) and accumulator (A) of a computer system are 3C H and 89 H respectively. The contents of A and the status of carry flag (CY) and sign flag (S) after executing a subtraction operation are
The contents of A is 3C H, CY is 0, and S is 0
The contents of A is 00 H, CY is 1, and S is 1
The contents of A is 4D H, CY is 1, and S is 1
The contents of A is 89 H, CY is 0, and S is 0
What is the status of the accumulator of 8085 microprocessor after the completion of the 'XRI F0 H' instruction?
Clear the lower four bits of the accumulator in 8085.
Complement the upper four bits of the accumulator in 8085
Clear the upper four bits of the accumulator in 8085
Complement the lower four bits of the accumulator in 8085.
What is the purpose of the JNZ instruction in 8085 microprocessor?
To jump to a specific memory location if the zero flag is set
To jump to a specific memory location if the zero flag is not set
To jump to a specific memory location if the carry flag is set
To jump to a specific memory location if the carry flag is not set
How does the 8085 microprocessor handle interrupts in a real-world scenario?
It ignores all interruptions during a critical operation
It prioritizes emergency alerts over routine notifications
It saves the current progress and status before attending to an urgent task
It directly responds to an urgent request without any delay
What is the significance of the HLT instruction in 8085 microprocessor programming?
It halts the microprocessor until the next interrupt occurs
It stops the execution of the program and puts the microprocessor in a halt state
It resets all the registers and flags of the microprocessor
It clears the memory and restarts the program from the beginning
Explain the purpose of the XTHL instruction in 8085 microprocessor programming.
It exchanges the contents of the H and L registers with the contents of the stack pointer
It exchanges the contents of the accumulator with the contents of the H and L registers
It exchanges the contents of the accumulator with the contents of the stack pointer
It exchanges the contents of the H and L registers with the contents of the memory location pointed by the stack pointer
How does the 8085 microprocessor handle the JMP instruction in a real-world scenario?
It saves the return address on the stack and jumps to a specific memory location
It directly jumps to a specific memory location without saving the return address
It ignores the JMP instruction during program execution
It clears the stack before executing the JMP instruction
Which of the following is true about Control and status signals?
There are 3 control signal and 3 status signals.
These signals are used to identify the nature of operation.
Three status signals are IO/M, S0 & S1
All of the above
A direct memory access (DMA) transfer replies
Direct transfer of data between memory and accumulator
Transfer of data exclusively within microprocessor registers
Direct transfer of data between memory and I/O devices without the use of microprocessor
A fast transfer of data between microprocessor and I/O devices
An 8085 assembly language program is given below. Assume that the carry flag is initially unset. The content of the accumulator after the execution of the program is
MVI A, 07H
RLC
MOV B, A
RLC
RLC
ADD B
RRC
8CH
64H
15H
23H
The following FIVE instructions were executed on an 8085 microprocessor.
MVI A, 33H
MVI B, 78H
ADD B
CMA
ANI 32H
The Accumulator value immediately after the execution of the fifth instruction is
10H
This signal indicates that another master is requesting the use of the address and data buses
READY
HOLD
HLDA
INTA
This signal is used as the system clock for devices connected with the microprocessor.
IO/M
X1, X2
CLK IN
CLK OUT
How many bytes does the following set of
instructions occupy?
MVI A, 35H
MVI B, 23H
ADD B
3
Consider the following statements: The SIM instruction outputs the contents of the accumulator to define:
1.Interrupt mask bit
2.interrupt pending bit
3.serial input data line
4.serial output data line
1 and 2
2 and 3
3 and 4
1 and 4
The output data lines of microprocessors and memories are usually tri-stated, because
It increases the speed of data transfers over the data bus.
More than one device can transmit information over that data bus at the same time.
More than one device can transmit information over that data bus by enabling only one device at a time.
The data lines can be multiplexed for both input and output.
In an intel 8085A microprocessor, why is READY signal used?
To slow down a fast peripheral device so as to communicate at the microprocessor’s device.
To provide proper WAIT states when the microprocessor is communicating with a slow peripheral device.
To indicate to user that the microprocessor is working and is ready for use.
None of the above.
Assertion (A): Microprocessor 8085 has an on-chip oscillator with an inbuilt crystal.
Reason (R): For frequency stability, a crystal oscillator is preferred.
Both A and R are correct, and R is the correct explanation of A.
Both A and R are correct, but R is not the correct explanation of A.
A is correct, R is wrong.
A is wrong, R is correct
