n301/cs16xComputerChallenges
n301.tplt
Store a value
Store the value 10 in cell 50
Store in a named cell
Store the value 10 in a cell named target
Simple adder
Given cells a, b, and result, write a program that adds a and b, and puts answer in result
Decrement startval
Given a value in a cell called startval, decrease that value by one as many times as necessary until the value is zero.
Improved counter
Given a value in a cell called startval, loop as many times as necessary for startval to get to zero (as in last program). Have another cell named counter. At the end of the run, counter should contain the number of repetitions that occurred.
Count by threes
Improve the last program so by the end of the run, it shows three times the number of repetitions that occurred
Multiplier
Given cells a, b, and product, write a program that multiplies a times b and stores the result into product.