Instructions of 8085 Microprocessor · Microprocessors and Computer Organization
16 questions · asked in 12 of 26 years (2001–2026)
MCQ 15 · NAT 11-mark 13 · 2-mark 3
2001Questions per year2026
Questions 1–5 of 16
A machine has a 32-bit architecture with 1-word long instructions. It has 24 registers and supports an instruction set of size 40. Each instruction has five distinct fields, namely opcode, two source register identifiers, one destination register identifier, and an immediate value. Assuming that the immediate operand is an unsigned integer, its maximum value is ______.
Answer: 2047
One instruction is 1 word = 32 bits. The fields are the opcode, three register fields and the immediate value.
Register field: 24 registers need bits (since ).
Opcode: 40 instructions need bits (since ).
The instruction format is
Bits left for the immediate value: bits.
An unsigned 11-bit number goes from 0 to .
Answer: 2047
Register field: 24 registers need bits (since ).
Opcode: 40 instructions need bits (since ).
The instruction format is
Bits left for the immediate value: bits.
An unsigned 11-bit number goes from 0 to .
Answer: 2047
The content of the registers are and . The following machine instructions are executed.
After execution, the content of registers are
After execution, the content of registers are
Answer: (A)
With PUSH, SP goes down. With POP, SP goes up.
The clock frequency of an 8085 microprocessor is 5 MHz. If the time required to execute an instruction is 1.4 , then the number of T-states needed for executing the instruction is
Answer: (C)
Given:
The execution time
The execution time also
Here the number of T-states needed to execute the instruction.
One T-state (or clock period) is
So,
The execution time
The execution time also
Here the number of T-states needed to execute the instruction.
One T-state (or clock period) is
So,
In an 8085 system, a PUSH operation requires more clock cycles than a POP operation. Which one of the following options is the correct reason for this?
Answer: (C)
Before data is written into the stack, the stack pointer must be decremented first. When data is read from the stack, no such pre-decrement or pre-increment is needed. The stack pointer already holds the address of the stack top, and the read takes place from that address. Hence, a PUSH operation takes more clock cycles than a POP operation.
In an 8085 microprocessor, the contents of the accumulator and the carry flag are A7 (in hex) and 0, respectively. If the instruction RLC is executed, then the contents of the accumulator (in hex) and the carry flag, respectively, will be
Answer: (D)
RLC means the accumulator is rotated left by 1 bit, and the carry is not included in the rotation.
Values before the RLC instruction:
Values after the RLC instruction:
Values before the RLC instruction:
Values after the RLC instruction:
Keep practising
Topics in Microprocessors and Computer Organization
Basics of 8085 Microprocessor
Instructions of 8085 MicroprocessorYou are here
Microprocessor 8085 ProgrammingMicroprocessor 8085 InterruptsInterfacing and Peripheral Devices