Write a assembly problem to add two 8-bit number stored in location 35H and 36H. The result is 8-bit and store the result in register R7 and also in memory 60H?


Warning: Trying to access array offset on false in /home3/indiakep/public_html/wp-content/plugins/dw-question-answer/inc/Template.php on line 8
All QuestionsCategory: Embedded SystemWrite a assembly problem to add two 8-bit number stored in location 35H and 36H. The result is 8-bit and store the result in register R7 and also in memory 60H?
Chetan Shidling Staff asked 6 years ago

I need code.

1 Answers
Chetan Shidling Staff answered 6 years ago

MOV A, 35H
ADD A, 36H
MOV R7, A
MOV 60H, A