Little Man Computer: 1. Introduction

Поділитися
Вставка
  • Опубліковано 8 сер 2024

КОМЕНТАРІ • 39

  • @plh256
    @plh256 Рік тому +31

    It's a long time since I taught at UCL. In retirement, I got involved in a UK STEM project to get more computing into schools and the simulators were things I wrote as part of that. Thank you for using my simulator.
    Peter Higginson

    • @ComputerScienceLessons
      @ComputerScienceLessons  Рік тому +9

      Thank YOU for creating the simulator. As a [almost retired] school teacher, I still make good use of your simulator when teaching kids about CPU architecture and low level programming. The instruction set is even part of OCR's A Level course :)KD

  • @drakata27
    @drakata27 Рік тому +7

    Thank you sir, a very well done video. It will help me in my computer architecture lesson 👍

  • @dannyielpoloz3129
    @dannyielpoloz3129 3 місяці тому

    2 years late but this helped me so much thanks man

  • @TrinityChapelIntl
    @TrinityChapelIntl 2 роки тому +3

    Great Job. This will help teach the programming fundamentals to the upcoming students.

  • @igooazoovig4306
    @igooazoovig4306 2 роки тому +3

    Great vid, looking forward for upcoming episodes.$

  • @beamboy07
    @beamboy07 8 місяців тому +3

    amazing and very clear thank you very much!

  • @rolinho2
    @rolinho2 2 роки тому +2

    good refresher video - nicely done

  • @algorithminc.8850
    @algorithminc.8850 2 роки тому +1

    Useful video ... thank you ... will pass it along ... subscribed (fun channel).

  • @stickbreads6719
    @stickbreads6719 Рік тому +3

    good morning usa i have feeling that its going to be a wonderful day

  • @shakz2077
    @shakz2077 Рік тому +1

    I just want to say your videos are better than craig and daves. Thank you

    • @ComputerScienceLessons
      @ComputerScienceLessons  Рік тому

      I delighted to hear that. I used to work in the same school as Dave. :)KD

    • @beamboy07
      @beamboy07 8 місяців тому

      @@ComputerScienceLessons both top tier uk computer science you are probably more clear at explaining though

  • @natking1u1z99
    @natking1u1z99 2 роки тому +9

    This is a very good explanation but I have to listen at 1.25x speed for the sake of my brain wanting to do everything fast.

  • @xd_hp3954
    @xd_hp3954 2 роки тому +1

    very helpful vid thank you !

  • @caiotorres6156
    @caiotorres6156 4 місяці тому

    such a great teaching process wow makes my teacher look like an amateur lmfao

  • @zakaria.l9577
    @zakaria.l9577 Рік тому +1

    thanks mister

  • @jeffsad8391
    @jeffsad8391 5 днів тому

    Question:Should you begin with c++ and then assembly?

  • @RayRay-ym9xy
    @RayRay-ym9xy Рік тому

    Ask the user for two numbers. Print out the answer to first number minus the second
    number, followed by the answer to the second number minus the first number.
    Example test data Expected output
    7, 3 4, -4

  • @solaris413
    @solaris413 2 роки тому +5

    why u re-uploaded?

    • @ComputerScienceLessons
      @ComputerScienceLessons  2 роки тому +4

      The original VB code snippet included MsgBox(X) instead of MsgBox(Z). I might have confused some people so I had to fix it. :)KD

  • @Dudleymiddleton
    @Dudleymiddleton 2 роки тому +2

    This is a repeat?

    • @ComputerScienceLessons
      @ComputerScienceLessons  2 роки тому +1

      Yes - the original VB code snippet included MsgBox(X) instead of MsgBox(Z). For the uninitiated, tiny errors like that can be very confusing. :)KD

  • @xyzabc08
    @xyzabc08 7 місяців тому

    write a program in little man computer that takes a variable number of user inputs until the user enters 0. the program then prints out the sum of the user inputs. for example, if the user enters 5, 1, 11, 12, 2 and 0, the program outputs 31. if the user enters 2, 1, 0, the program outputs 3.
    Pleasee helppp

    • @ComputerScienceLessons
      @ComputerScienceLessons  7 місяців тому

      Try this :)KD
      START INP
      STA INPUT
      LDA INPUT
      BRZ PRINT
      ADD SUM
      STA SUM
      BRA START
      PRINT LDA SUM
      OUT
      HLT
      INPUT DAT 0
      SUM DAT 0

  • @japaneselearner3405
    @japaneselearner3405 7 місяців тому

    Video’s code:
    INP
    STA NUM1
    INP
    STA NUM2
    LDA NUM1
    ADD NUM2
    STA RESULT
    OUT
    HLT
    NUM1 DAT
    NUM2 DAT
    RESULT DAT