Difference between revisions of "CSC231 Homework 2"

From dftwiki3
Jump to: navigation, search
(New page: <meta name="keywords" content="computer science, assembly language, pentium, exercise, machine language, intel" /> <meta name="description" content="Dominique Thiebaut's Web Page" /> <meta...)
 
(Assignment #2)
Line 16: Line 16:
 
=Assignment #2=
 
=Assignment #2=
  
Write a program that displays the following patter using loops:
+
==Problem #1==
 +
 
 +
Write a program that displays the following patter using loops.
  
 
<code><pre>
 
<code><pre>
Line 43: Line 45:
  
 
   submit hw2 hw2.asm
 
   submit hw2 hw2.asm
 +
 +
 +
==Problem #2==

Revision as of 15:55, 15 September 2008

<meta name="keywords" content="computer science, assembly language, pentium, exercise, machine language, intel" /> <meta name="description" content="Dominique Thiebaut's Web Page" /> <meta name="title" content="Dominique Thiebaut -- Computer Science" /> <meta name="abstract" content="Dominique Thiebaut's Computer Science Web pages" /> <meta name="author" content="thiebaut at cs.smith.edu" /> <meta name="distribution" content="Global" /> <meta name="revisit-after" content="10 days" /> <meta name="copyright" content="(c) D. Thiebaut 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,2008" /> <meta name="robots" content="FOLLOW,INDEX" />

Back to CSC231 Main Page


Assignment #2

Problem #1

Write a program that displays the following patter using loops.

**********#
 *********##
  ********###
   *******####
    ******#####
     *****######
      ****#######
       ***########
        **#########
         *##########
        **#########
       ***########
      ****#######
     *****######
    ******#####
   *******####
  ********###
 *********##
**********#

Store your program in a file called hw2.asm and submit it as follows:

  submit hw2 hw2.asm


Problem #2