![]() |
LITLE MAN COMPUTER!!! Anyone rememmbers that??!?!
I had a question about Litlle man computer, and i was wondering if it can have a negative value...
this is the question and info for it (my answeres were -7 and 17) Mailbox Code Suppose that the following program is loaded in the LMC memory: Memory address Instruction Address 00 Input 01 01 Store 20 02 Input 01 03 Store 21 04 Input 01 05 Store 22 06 Subtract 21 07 Branch Positive 10 08 Load 21 09 Branch 11 10 Load 22 11 Subtract 20 12 Output 02 13 Halt 00 5) [15] Suppose that the program is supplied with the following decimal numbers: 23 , 20 and 15 (in this order). What will be the output in decimal? And what will be the output if the numbers 15, 18 and 32 are supplied (in this order)? |
what is it you're talking about ? never heard of it.. can't be of any help, sry
|
i have a feeling u aint the best student in your class
whats with the computer science (or elec. eng.?) homework threads lately |
fucking midterm :(
|
the answer is 24
|
-3 and 17 i think, but i dont know the specifications of this machine
|
oh yeah it is minus 3 !!
thanks :) |
|
You should multiply with 2 and distract 3.
That way the outcome will be streamlined. You can also add 4, and restore the second number. |
Quote:
study more |
Quote:
huh? |
Quote:
|
[QUOTE]Originally posted by AnalProbe
:1orglaugh :1orglaugh :1orglaugh [/QUOTE lol u got me for a second with that techno bable :1orglaugh |
I remember having to make those damn flop boxes
|
All times are GMT -7. The time now is 02:13 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123