Computer Science, asked by rautvaishnavi10, 1 month ago

1. Write a ALP using 8086 to add two 16 bitnumbers. Store final result at 4500h memorylocation.Comment of final results. Show the status of flag registers & general purpose register and write comments and flowchart​

Answers

Answered by royalpiano637
0

Answer: Algorithm –

1. Load 0000H into CX register (for carry)

2. Load the data into AX(accumulator) from memory 3000

3. Load the data into BX register from memory 3002

4. Add BX with Accumulator AX

5. Jump if no carry

6. Increment CX by 1

7. Move data from AX(accumulator) to memory 3004

8. Move data from CX register to memory 3006

9. Stop

Similar questions