Consider the following program of 8085 assembly language:
Que: The memory requirement for this program is
  • a)
    20 Byte
  • b)
    21 Byte
  • c)
    23 Byte
  • d)
    18 Byte
Correct answer is option 'C'. Can you explain this answer?

Related Test

Aim It Academy
Feb 18, 2022
Operand R, M or implied : 1–Byte instruction
Operand 8–bit : 2–Byte instruction
Operand 16–bit : 3–Byte instruction
3–Byte instruction are: LXI, LDA, JZ, JC, JMP
P–Byte instruction are : MOV, CMP, HLT
Hence memory = 3 x 6 + 1 x 5 = 23 bytes

Operand R, M or implied : 1Byte instructionOperand 8bit : 2Byte instructionOperand 16bit : 3Byte instruction3Byte instruction are: LXI, LDA, JZ, JC, JMPPByte instruction are : MOV, CMP, HLTHence memory = 3 x 6 + 1 x 5 = 23 bytes
Operand R, M or implied : 1Byte instructionOperand 8bit : 2Byte instructionOperand 16bit : 3Byte instruction3Byte instruction are: LXI, LDA, JZ, JC, JMPPByte instruction are : MOV, CMP, HLTHence memory = 3 x 6 + 1 x 5 = 23 bytes