Explore BrainMass
Share

Little Man Computer: printing odd numbers

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

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

© BrainMass Inc. brainmass.com October 16, 2018, 12:19 pm ad1c9bdddf - https://brainmass.com/computer-science/program-execution/little-man-computer-printing-odd-numbers-300592

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