Question: Overview & guidelines: Think about logic & how you are solving problems using limited resources & syntax. That is the assignment objective. The only ASM

Overview & guidelines:
Think about logic & how you are solving problems using limited resources & syntax. That is the assignment objective.
The only ASM you need has already been covered in class. Do not stray far from those constructs, but slight variations & enhancements are fine.
o Do not call any external or additional functions other than those we have been regularly using.
o Work on good program structure. Clear logic. Maybe even comments.
The assignment will consist of 3 distinct programs with 3 due dates.
Instructions:
Coding style is the key objective, follow the instructions & restrictions.
Program 1,2,3 below may ask for variables
o Create initialized variables in the .data section
Note. You may need variables for prompts & output labels
o Reserve space for variables in the .bss section
Your code should do the following 3 tasks:
Program 1:
o Variables, with initial values:
Prompt asking to enter input
dash, number of dashes to put on a line
o Variable, reserved but not initialized
N, the user input value
o Control flow:
Loop: only proper loop loops may be used. Only use loop.
Do not jump out to short-circuit a loop, the proper structure and use of the loop loop much be maintained.
o Comments: use each bullet step to label code sections
o Program will now do the following::
o Print a line of dashes
o Print numbers N to 1 on one line
o Print a line of dashes
o Print number 1 to N on one line
o Print a line of dashes
o Print down triangle, base size N ( for N=3, that is 3,2,1*s )
***
**
*
o Print a line of dashes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!