Documents

Detmer Ch2 Ppt

Description
Detmer Ch2 Ppt
Categories
Published
of 49
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  Chapter 3 Elements of Assembly Language  How to develop assembly Language Programs  Directives in MASM  Contents  Types and formats of statements in MASM  Example program for how to assemble, link, and execute  Structure of assembly language program  Constant operands and instruction operands  3.2 A Complete Example  Purpose: prompt for two numbers and then find and display their sum.  Pseudocode design for the program 1. Prompt for the first number; 2. Input ASCII characters representing the first number; 3. Convert the characters to a 2’s complement double world 4. Store the first number in memory; 5. Prompt for the second number; 6. Input ASCII characters representing the first number; 7. Convert the characters to a 2’s complement double world 8. Add the first number to the second number; 9. Convert the sum to a string of ASCII characters; 10. Display a label and the characters representing the sum;
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks