Question: MIPS: How do you print characters where each time a random new character is added, the ones above it gets decremented by an amount? They
MIPS:
How do you print characters where each time a random new character is added, the ones above it gets decremented by an amount? They will be printed to a terminal.
For example:
1st Print:
C (brightest color, let's say 0x000000FA is blue)
2nd Print:
A (paler blue, 0x000000FA - 0x0000000A)
B (brightest blue, 0x000000FA)
3rd Print:
1 (palest blue, 0x000000FA - 0x0000000A - 0x0000000A)
G (paler blue, 0x000000FA - 0x0000000A)
H (brightest blue, 0x000000FA)
and so on. When blue is 0x00000000, the old characters will just stay at 0x00000000, never going negative.
Then when it reaches the bottom of the column of the terminal it starts printing from the top again.
Can I see an example of this in MIPS?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
