1. Since pairing up of (general purpose) registers is possible, we can go beyond 8 bits! Manually store two numbers in memory locations, 0075h and 0076h. Write a program to add these numbers and...

1 answer below »

1. Since pairing up of (general purpose) registers is possible, we can go beyond 8 bits!
Manually store two numbers in memory locations, 0075h and 0076h. Write a program to add these numbers and ensure to save the carry (in a register). Store your sum in 0096h and carry in 0095h. Turn in your code and a snapshot of your screen (including the output) for test case: 80h + 80h.[5points (code:3pts + snapshot:2pts]


2. Store two numbers in memory locations, 0034h and 0035h. Write a program to multiply these numbers. Store you product in 0045h and the carry in 0044h. Turn in your code and a snapshot of your screen (including the output) for test case: FEh x FEh.[15points (code: 12pts + snapshot:3pts)]

Hints: Multiplication is repeated addition
Looping will be required (consider using two labels)
You would need 4 registers (including the accumulator)
Answered Same DayOct 27, 2021

Answer To: 1. Since pairing up of (general purpose) registers is possible, we can go beyond 8 bits! Manually...

Darshan answered on Oct 28 2021
116 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here