PROGRAM 6: Number Ladder Write an HLA Assembly language program that prompts for two specific int8 value. The first value should be less than the second. If that is not the case, don't print anything. With two appropriate values, build the ladder of increments and decrements as shown below. Shown below is a sample program dialogue. Gimme a integer value to use as the start of the ladder: 6 Gimme a integer value to use as the end of the ladder: 11 6 11 7 10 8 9 9 8 10 7 11 6Gimme a integer value to use as the start of the ladder: 5 Gimme a integer value to use as the end of the ladder: 7 5 7 6 6 7 5 Gimme a integer value to use as the start of the ladder: 15 Gimme a integer value to use as the end of the ladder: 7 (Hint: I would recommend you write it first in C or Visual Basic and then translate your lines of code, one-by-one, into a assembly statements, just like our good friend mr. compiler does.)
Write an HLA Assembly language program that prompts for two specific int8 value. The first value should be less than the second. If that is not the case, don't print anything. With two appropriate values, build the ladder of increments and decrements as shown below. Shown below is a sample program dialogue.
Gimme a integer value to use as the start of the ladder: 6
Gimme a integer value to use as the end of the ladder: 11
6 11
7 10
8 9
9 8
10 7
11 6Gimme a integer value to use as the start of the ladder: 5
Gimme a integer value to use as the end of the ladder: 7
5 7
6 6
7 5
Gimme a integer value to use as the start of the ladder: 15
Gimme a integer value to use as the end of the ladder: 7
(Hint: I would recommend you write it first in C or Visual Basic and then translate your lines of code, one-by-one, into a assembly statements, just like our good friend mr. compiler does.)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images