Question

Write a simple assembly code using 8088 microprocessor instructions set to add two numbers.

Write a simple assembly code using 8088 microprocessor instructions set to add two numbers.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

 .data x dw 0 ;for storing the result start:                  mov ax, 1245h   ;immediate moving 1245 into ax  mov bx, 8540h   ;immediate moving 8540 into bx  add ax, bx      ;adding ax with ax and result in ax     mov x, ax       ;storing content of into memroy dataword x done:        int 20h         ;completion of program
Add a comment
Know the answer?
Add Answer to:
Write a simple assembly code using 8088 microprocessor instructions set to add two numbers.
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT