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

View all notifications
Books Shortlist
Your shortlist is empty

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

Login
Create free account


      Forgot password?

Question

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

Solution

[ADD REGISTER PAIR TO H AND L REGISTER]
Format:[H][L] ← [H][L]+[rh][rI]
Addressing: Register addressing
Group: Arithmetic group
Bytes: 1 byte
Flag: Cy
Comment: The contents of register pair rp are added to the contents of H-L pair. Result is placed in
register H and L. Only carry flag is affected.
Example: Let [H]=03H, [L]=05,[D]=15H and [E]=12H
Instruction: DAD D
After execution:[L]=05+12=17H

[H]=03+15=18H

[H-L]=1817H
In this case, carry flag is reset.

  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 : DAD rp Concept: Instruction Set and Programming of 8085.
S
View in app×