Dale McMurry
Active Member
Can any of you guys help on this problem? The following is the information for one of the assembly programs that I am currently working on, and attached is a pdf file describing the next program. Currently we have been using 8086 based assembly. Any help would be greatly appreciated.
Thank you,
Colby Burns
Assembly Language Program
For this lab, design, enter, assemble, execute, and debug a program that:
· Use the full segment specifiers and creates a EXE format executable
· Contains a stack segment (512 words), a data segment, and the program segment
· Requests that the user enter a 16-bit unsigned hexadecimal number (A)
· Check to insure that the number A is valid. If it is not, ask the user to enter it again.
· Requests that the user enter a 16-bit unsigned hexadecimal number (B)
· Check to insure that the number B is valid. If it is not, ask the user to enter it again.
· Calculates and prints the result of: the sum (A+B), the difference (A-B), the product
(A*B), the division (A/B), the logical AND (A and B), the logical OR (A or B), and
the exclusive OR (A xor B).
· Prints a message after each arithmetic operation if a carry or overflow is generated.
· Exits to DOS
· You must use at least 2 procedures in your code
· You must format you code in a readable form and add meaningful comments
--------------------------------------------------------------------------------
Thank you,
Colby Burns
Assembly Language Program
For this lab, design, enter, assemble, execute, and debug a program that:
· Use the full segment specifiers and creates a EXE format executable
· Contains a stack segment (512 words), a data segment, and the program segment
· Requests that the user enter a 16-bit unsigned hexadecimal number (A)
· Check to insure that the number A is valid. If it is not, ask the user to enter it again.
· Requests that the user enter a 16-bit unsigned hexadecimal number (B)
· Check to insure that the number B is valid. If it is not, ask the user to enter it again.
· Calculates and prints the result of: the sum (A+B), the difference (A-B), the product
(A*B), the division (A/B), the logical AND (A and B), the logical OR (A or B), and
the exclusive OR (A xor B).
· Prints a message after each arithmetic operation if a carry or overflow is generated.
· Exits to DOS
· You must use at least 2 procedures in your code
· You must format you code in a readable form and add meaningful comments
--------------------------------------------------------------------------------