Advertisements
Advertisements
प्रश्न
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
टीपा लिहा
उत्तर
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
Instruction Set and Programming of 8085
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?