 |
 |
Little Man Computing
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jun 2005
Status:
Offline
|
|
Hope it's okay to pst this here. I have very little programming experience and I need to write a program in the Little Man Computer language (LDA, STO, ADD, SUB, BRZ, etc). Unfortunately I haven't the slightest idea where to begin. Here it is... I have to take a series of input numbers (no limit) determine the largest and smallest values and output both of them, smallest first. The program needs to use the value 000 as a "stop flag" that will let the computer know that there are no more inputs. Any help with this would be appreciated!
|
|
|
| |
|
|
|
 |
|
 |
|
Baninated
Join Date: Apr 2001
Location: Dead whale
Status:
Offline
|
|
The Little Man is named Larry.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jun 2005
Location: Yamanashi, Japan
Status:
Offline
|
|
Say hello to my little friend!
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Jun 2003
Location: Dangling something in the water… of the Arabian Sea
Status:
Offline
|
|
This little guy could probably help you out.

|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Dec 1999
Status:
Offline
|
|
I think you're in the wrong forum. You might want to try a programming forum.
|
|
"…I contend that we are both atheists. I just believe in one fewer god than
you do. When you understand why you dismiss all the other possible gods,
you will understand why I dismiss yours." - Stephen F. Roberts
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: May 2001
Location: Portland, OR
Status:
Offline
|
|
Originally Posted by steeph28
Hope it's okay to pst this here. I have very little programming experience and I need to write a program in the Little Man Computer language (LDA, STO, ADD, SUB, BRZ, etc). Unfortunately I haven't the slightest idea where to begin. Here it is... I have to take a series of input numbers (no limit) determine the largest and smallest values and output both of them, smallest first. The program needs to use the value 000 as a "stop flag" that will let the computer know that there are no more inputs. Any help with this would be appreciated!
I have never heard of Little Man Computer language.
My school teaches MIPS.
|
|
8 Core 2.8 ghz Mac Pro/GF8800/2 23" Cinema Displays, 3.06 ghz Macbook Pro
Once you wanted revolution, now you're the institution, how's it feel to be the man?
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|