Question: 8085 microprocessors Write assembly code to divide a number at 7050h in memory by a number at 7051h in memory The result should be two
Write assembly code to divide a number at 7050h in memory by a number at 7051h in memory The result should be two integers, giving the number of times the second given number goes into the first given number, and the remainder. The number of times the second number goes into the first number should be stored at 7052h and the remainder should be stored at 7053h. The following restrictions apply to the code you will develop * The only working registers you may use are the accumulator, the flag register, and the HL pair. * you may not use the compare function Use the following code to build from .org 7050 db 07h, oh .org 7000 START HLT end This lets you demonstrate division of by 2 I should be able to change these numbers and execute your code to soll get the contener
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
