GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   LITLE MAN COMPUTER!!! Anyone rememmbers that??!?! (https://gfy.com/showthread.php?t=234845)

spamofon 02-11-2004 05:48 PM

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)?

TweetyBird 02-11-2004 05:49 PM

what is it you're talking about ? never heard of it.. can't be of any help, sry

Lane 02-11-2004 05:49 PM

i have a feeling u aint the best student in your class

whats with the computer science (or elec. eng.?) homework threads lately

spamofon 02-11-2004 05:50 PM

fucking midterm :(

nofx 02-11-2004 05:51 PM

the answer is 24

Lane 02-11-2004 05:54 PM

-3 and 17 i think, but i dont know the specifications of this machine

spamofon 02-11-2004 05:56 PM

oh yeah it is minus 3 !!

thanks :)

goBigtime 02-11-2004 05:57 PM

http://www.herts.ac.uk/ltdu/projects...es/big_man.jpg

AnalProbe 02-11-2004 05:57 PM

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.

Lane 02-11-2004 05:57 PM

Quote:

Originally posted by spamofon
oh yeah it is minus 3 !!

thanks :)

np

study more

spamofon 02-11-2004 06:03 PM

Quote:

Originally posted by AnalProbe
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.


huh?

AnalProbe 02-11-2004 06:05 PM

Quote:

Originally posted by spamofon



huh?

:1orglaugh :1orglaugh :1orglaugh

spamofon 02-11-2004 06:07 PM

[QUOTE]Originally posted by AnalProbe

:1orglaugh :1orglaugh :1orglaugh
[/QUOTE


lol u got me for a second with that techno bable


:1orglaugh

GonePhishing 02-11-2004 06:15 PM

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