HSC Science (Computer Science) 12th Board ExamMaharashtra State Board
Share
Notifications

View all notifications

Explain the following instructions of 8085 Microprocessor with one example of each : INX rp - HSC Science (Computer Science) 12th Board Exam - Computer Science 2

Login
Create free account


      Forgot password?

Questions

Explain the following instructions of 8085 Microprocessor with one
example of each : INX rp

Considering following points, explain the given instruction: 
Instruction : INX rp
i) Group of Instruction
ii) Addressing Mode
iii) Number of Bytes
iv) Flags Affected
v) Explain with example

Solution

INX rp: [INCREMENT REGISTER PAIR BY 1]
Format: [rp]←[rp]+1
Addressing: Register addressing
Group: Arithmetic group
Bytes: 1 byte
Flag: None
Comment: This instruction increments the content of register pair rp by 1. No flags are affected.
The instruction views the contents of the two registers as a 16-bit number.
Example: Let [HL] = D000 H
Instruction : INX H
After execution : [HL] = D001 H

  Is there an error in this question or solution?

APPEARS IN

 2016-2017 (March) (with solutions)
Question 3.1.2 | 3.00 marks
Solution Explain the following instructions of 8085 Microprocessor with one example of each : INX rp Concept: Instruction Set and Programming of 8085.
S
View in app×