Assignment Help, Cloud Based ERP System, Microsoft NAV Certification
WELCOME !!

Please Register, ask for assignment solutions & post the solutions if you know any.

LETS START POSTING YOUR IDEAS AND THOUGHTS AND BUILD THE COMMUNITY OF EXPERTS.

Assignment Help, Cloud Based ERP System, Microsoft NAV Certification
WELCOME !!

Please Register, ask for assignment solutions & post the solutions if you know any.

LETS START POSTING YOUR IDEAS AND THOUGHTS AND BUILD THE COMMUNITY OF EXPERTS.

Assignment Help, Cloud Based ERP System, Microsoft NAV Certification

Stock Market, Online Tutoring, Cloud Based ERP System, Microsoft Dynamics Reporting, Microsoft Nav Certification

Similar topics

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

12062 Bhadra (Reg./Back) Q. N. 4 Empty 2062 Bhadra (Reg./Back) Q. N. 4 6th March 2009, 3:48 pm

diadem59

diadem59
Administrator
Write a program for 8085 to add ten 16-bit BCD numbers and store 24-bit result at the end of ten given numbers.

Solution:

LXI B,000AH
LXI D,0000H
LXI H,3000H ;assuming starting address is 3000H

Next: MOV A,E
ADD M
DAA
MOV E,A
INX H
MOV A,D
ADC M
DAA
MOV D,A
INX H

JNC Skip
MOV A,B
ADI 01
DAA
MOV B,A

Skip: DCR C
JNZ Next

Store:
MOV M,E
INX H
MOV M,D
INX H
MOV M,B

HLT

22062 Bhadra (Reg./Back) Q. N. 4 Empty Re: 2062 Bhadra (Reg./Back) Q. N. 4 12th March 2009, 9:48 am

jaiparivesh

jaiparivesh
Administrator
thankx again

yo ta hamro clas test ma pani aaye ko thiyo, teti khera falam ko chura jato thiyo

https://www.alertpay.com/?ExlPku5EtIiST4N2a1hiEg%3d%3d

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum