Share
Explore BrainMass

Little Man Computer: printing odd numbers

Write a Little Man program that prints out the odd numbers from 1 to 99. No input is required.

Solution Preview

Following program has been tested using Little Man Simulator at http://www.atkinson.yorku.ca/~sychen/research/LMC/LittleMan.html .

LOOPTOP LDA CURRENT // Load the current value of counter
OUT ...

Solution Summary

Little Man Simulator at http://www.atkinson.yorku.ca/~sychen/research/LMC/LittleMan.html has been used for testing the program.

$2.19