Answer to Question #231232 in Assembler for Patience

Question #231232

Write an assembler program that converts the first four binary bits connected to port A and store the converted number in the register 24 and converts the last four binary bits connected to port A and store the converted number in the register 22. Your application should perform the following:

3.1. If the number is register 24 is even , substract the number stored in 24 by the number stored in 22 and store the difference in register 24. If the difference is positive multiply the by 10 and stored the result.

3.2. If the number is register 24 is odd , add the number stored in 24 by the number stored in 22 and store the sum in register 25. If the sum is above 45, divide the number stored in register 25 by 3 and store the result in 26h.

Test your code using the last 2 numbers of your student number connected to Port A.


1
Expert's answer
2021-08-31T17:41:29-0400
Dear Patience, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS