LITLE MAN COMPUTER!!! Anyone rememmbers that??!?!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spamofon
    Confirmed User
    • Jun 2003
    • 2999

    #1

    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
    Confirmed User
    • Feb 2004
    • 8532

    #2
    what is it you're talking about ? never heard of it.. can't be of any help, sry
    sig for sale.
    ICQ :338213644

    Comment

    • Lane
      Will code for food...
      • Apr 2001
      • 8496

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

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

      Comment

      • spamofon
        Confirmed User
        • Jun 2003
        • 2999

        #4
        fucking midterm

        Comment

        • nofx
          Too lazy to set a custom title
          • Nov 2002
          • 16826

          #5
          the answer is 24

          Often times I wonder why
          There's love and hate, theres live or die.
          When sickness comes I must decide:
          When feelings go, theres suicide.

          Comment

          • Lane
            Will code for food...
            • Apr 2001
            • 8496

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

            Comment

            • spamofon
              Confirmed User
              • Jun 2003
              • 2999

              #7
              oh yeah it is minus 3 !!

              thanks

              Comment

              • goBigtime
                Confirmed User
                • Nov 2002
                • 7761

                #8

                Comment

                • AnalProbe
                  pain in the Ass
                  • Jan 2004
                  • 3727

                  #9
                  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.

                  Comment

                  • Lane
                    Will code for food...
                    • Apr 2001
                    • 8496

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

                    thanks
                    np

                    study more

                    Comment

                    • spamofon
                      Confirmed User
                      • Jun 2003
                      • 2999

                      #11
                      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?

                      Comment

                      • AnalProbe
                        pain in the Ass
                        • Jan 2004
                        • 3727

                        #12
                        Originally posted by spamofon



                        huh?

                        Comment

                        • spamofon
                          Confirmed User
                          • Jun 2003
                          • 2999

                          #13
                          [QUOTE]Originally posted by AnalProbe

                          [/QUOTE


                          lol u got me for a second with that techno bable


                          Comment

                          • GonePhishing
                            Confirmed User
                            • Oct 2003
                            • 2474

                            #14
                            I remember having to make those damn flop boxes
                            If Biff Fucks My Mom... I Might Never Be Born...

                            Comment

                            Working...