0 évaluation0% ont trouvé ce document utile (0 vote)
15 vues1 page
This program adds two 16-bit numbers stored in memory locations 4500 and 4501. It clears the carry flag, loads the first addend into the accumulator, adds the second addend, and stores the sum in the destination memory. It repeats this for the second byte, incrementing the destination pointer after each store. If no carry, it jumps to the label L2, otherwise it increments the counter and stores it as the final result.
This program adds two 16-bit numbers stored in memory locations 4500 and 4501. It clears the carry flag, loads the first addend into the accumulator, adds the second addend, and stores the sum in the destination memory. It repeats this for the second byte, incrementing the destination pointer after each store. If no carry, it jumps to the label L2, otherwise it increments the counter and stores it as the final result.
Droits d'auteur :
Attribution Non-Commercial (BY-NC)
Formats disponibles
Téléchargez comme DOCX, PDF, TXT ou lisez en ligne sur Scribd
This program adds two 16-bit numbers stored in memory locations 4500 and 4501. It clears the carry flag, loads the first addend into the accumulator, adds the second addend, and stores the sum in the destination memory. It repeats this for the second byte, incrementing the destination pointer after each store. If no carry, it jumps to the label L2, otherwise it increments the counter and stores it as the final result.
Droits d'auteur :
Attribution Non-Commercial (BY-NC)
Formats disponibles
Téléchargez comme DOCX, PDF, TXT ou lisez en ligne sur Scribd