Question: 9- Write an 8085 program to perform the following multi byte addition operation: Store the result in memory [2802][2801][2800] 91986FH +2E6794H Test the program


9- Write an 8085 program to perform the following multi byte addition
operation: Store the result in memory [2802][2801][2800] 91986FH +2E6794H Test the program

9- Write an 8085 program to perform the following multi byte addition operation: Store the result in memory [2802][2801][2800] 91986FH +2E6794H Test the program by manually placing the two 3-byte numbers into consecutive memory locations. Design your program to add the values together and store the sum in three other memory locations. Record the sum and the CY flag and Z flag values after the program adds each pair of bytes verify these observations with manual computations. 10- Write a program to compare between content of registers A and B, show the content flags CY, Z, S for the following cases a. A=05, B=04 b. A=05,B=05 c. A=05, B=06 11- Write an 8085 program to compare the contents of two regs. A and B (load immediate data into two regs.), and then rotate the contents of reg. A, the new contents of A are then AND-ed with a constant and finally the resulting contents of A are OR-ed with the contents of B. Code your program then list it on a coding form and load it into memory starting at address 2800. Check the contents of the A reg. to verify its correct operation. Note: the data is FO, OF

Step by Step Solution

3.39 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

9 Heres the 8085 assembly program to perform the multibyte addition operation and store the result in memory assembly ORG 2000H MOV A M Load first byt... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!