3- Write 3 different program segments to store (05)H in memory location (2850)H. 4- Write a program to find (6F2E3D +2B1A6C). Store the result in BDE registers 5- Write a program to find (6F2E3D - 2B1A6C). Store the result in BDE registers 6- write a program to add 3 bytes number stored in memory locations [2802][2801][2800] to the 3 bytes number stored in memory locations [2805][2804][2803] store the results in [2808][2807][2806]. 7- write a program to subtract 3 bytes number stored in memory locations [2802][2801][2800] from 3 bytes number stored in memory locations [2805][2804][2803] store the results in [2808][2807][2806] 8- Write an 8085 program to subtract the contents of memory location 2850H from the contents of memory location 2851H, and store the difference in location 2852H. Try your program for each of the following cases; record the difference and the status of the CY and Z flags for each case. a. (2850)H=47H, (2851)H=8EH b. (2850)H=8EH, (2851)H=47H c. (2850)H=F7H, (2851)H=F7H Code your program, then list it on a coding form, then examine the contents of the appropriate processor register memory location to verify correct execution of each program instruction. 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 F0, OF
3- Write 3 different program segments to store (05)H in memory location (2850)H. 4- Write a program to find (6F2E3D +2B1A6C). Store the result in BDE registers 5- Write a program to find (6F2E3D - 2B1A6C). Store the result in BDE registers 6- write a program to add 3 bytes number stored in memory locations [2802][2801][2800] to the 3 bytes number stored in memory locations [2805][2804][2803] store the results in [2808][2807][2806]. 7- write a program to subtract 3 bytes number stored in memory locations [2802][2801][2800] from 3 bytes number stored in memory locations [2805][2804][2803] store the results in [2808][2807][2806] 8- Write an 8085 program to subtract the contents of memory location 2850H from the contents of memory location 2851H, and store the difference in location 2852H. Try your program for each of the following cases; record the difference and the status of the CY and Z flags for each case. a. (2850)H=47H, (2851)H=8EH b. (2850)H=8EH, (2851)H=47H c. (2850)H=F7H, (2851)H=F7H Code your program, then list it on a coding form, then examine the contents of the appropriate processor register memory location to verify correct execution of each program instruction. 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 F0, OF
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY