Assembly Language

Homework 4, Due 2010/4/12

Problem 1

Simple addition (1) (Page 149, Problem 3)

Write a program that clears the screen, locates the cursor near the middle of the screen, prompts the user for two integers, adds the integers, and displays their sum.

t4_1.exe

 

Problem 2

Random strings (Page 149, Problem 6)

Write a program that generates and displays twenty random strings, each consisting of ten capital letters {A..Z}.

t4_2.exe

 

ftp your homework to

ftp://alasp@140.127.208.168/

in the directory \HW4

by the following format:

檔案名稱:hw#_學號.zip

例如:資工同學,作業4

    檔案名稱:hw4_a09755xx.zip.  (注意:檔案名稱不能有中文)

The password is given in class.