Tải bản đầy đủ (.docx) (2 trang)

8 LAB01 assembly01sfsdfsadgsgdg

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (35.51 KB, 2 trang )

Assembly_Lab01
Your name:

1-Lab01-1:
Use the Opcodes help of the menu Help, describe syntaxes of following MASM
instructions
(1) ADD
(2) SUB
(3) MUL, IMUL
(4) DIV, IDIV. Which register will store the remainder ?
>>>

1-Lab01-2:
Write a MASM program that will print the following cantor of Hàn Mặc Tử

>>>

1-Lab01-3:


Assembly_Lab01
Write a program that will accept 3 numbers, then sum of them and their average will
be printed out.
>>>

1-Lab01-4:
Write a MASM program that will solve the equation ax + b=0
>>>

1-Lab01-5:
Write a MASM program that will accept 2 numbers, v1, v2 then print out v1+v2,


v1-v2, v1*v2, v1/v2.
Attention: The case in which v2=0 must be managed.
>>>



Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×