Question: Write an ASSEMBLY PROGRAM that displays a bar chart of positive numbers defined as an'array in ROM. The bars must be shown by using the

Write an ASSEMBLY PROGRAM that displays a bar chart of positive numbers defined as an'array in
ROM. The bars must be shown by using the '*1 symbol, must be vertical and aligned with respect to the first
screen row. You can assume that every number in the array is in the range 1..15 to fit the bar chart on the
screen. The number of *'s in the bar representing an array element must be equal to that element.
For example, if one has the following array declaration:
a , CCB 3,1,5,7,10,2,11,3,7,5
then your program should produce the following output on the screen:
Make sure that your program works for any array of size 1..30, not just for the above example.
Write an ASSEMBLY PROGRAM that displays a bar

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 Programming Questions!