Little Man Computer Help Please!!!

Discussion in 'Software' started by Natheesh05, Oct 19, 2015.

  1. Natheesh05

    Natheesh05 Private E-2

    My program's purpose is to allow user inputs until zero is entered or there is no space for it to be stored. I need to store each number in another mailbox and count the numbers I have stored. Here's my program.

    00 INP 901
    01 STOR 397
    02 LDA 598
    03 ADD 199
    04 STOR 398
    05 BRZ 707
    06 BR 600
    07 LDA 598
    08 OUT 902
    09 HLT 000
    97 DAT 000
    98 DAT 000
    99 DAT 001

    I am having trouble figuring out how I can make my program store the number in different mailboxes and how to make the program stop when there is no more space. Thank you in advance!
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds