Question: Write a MIPS assembly program that can draw a rectangle pattern onto the console output based on a given set of parameter values. To
Write a MIPS assembly program that can draw a rectangle pattern onto the console output based on a given set of parameter values. To fully define the rectangle pattern, the following four parameters will be used: 1. Height: 2. Width: 3. Border: 4. Fill: the number of lines used to draw the rectangle the number of characters in each line. the character used to draw the rectangle's periphery the character used to draw the rectangle's inner points For example, a rectangle of Height=5, Width=4, Border='*' and Fill ='@' would print as follows: * @@ * *@@* *@@*
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
