English

Explain the following instructions of 8085 Microprocessor with one example of each : INX rp - Computer Science 2

Advertisements
Advertisements

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

Short/Brief Note
Advertisements

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

shaalaa.com
  Is there an error in this question or solution?
2016-2017 (March)
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×