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
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
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
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
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
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
Thank you sir, a very well done video. It will help me in my computer architecture lesson 👍
Glad to help :)KD
2 years late but this helped me so much thanks man
Great Job. This will help teach the programming fundamentals to the upcoming students.
I'm delighted to help another teacher :)KD
Great vid, looking forward for upcoming episodes.$
I'm editing episode right now :)KD
amazing and very clear thank you very much!
You are most welcome :)KD
good refresher video - nicely done
Thank you :)KD
Useful video ... thank you ... will pass it along ... subscribed (fun channel).
good morning usa i have feeling that its going to be a wonderful day
if a teacher sets me this as homework im gonna be hanging
It's the start of spring :)KD
I just want to say your videos are better than craig and daves. Thank you
I delighted to hear that. I used to work in the same school as Dave. :)KD
@@ComputerScienceLessons both top tier uk computer science you are probably more clear at explaining though
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.
It's a tricky balance :)KD
very helpful vid thank you !
You're welcome :)KD
such a great teaching process wow makes my teacher look like an amateur lmfao
thanks mister
You're welcome :)KD
Question:Should you begin with c++ and then assembly?
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
why u re-uploaded?
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
This is a repeat?
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
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
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
Video’s code:
INP
STA NUM1
INP
STA NUM2
LDA NUM1
ADD NUM2
STA RESULT
OUT
HLT
NUM1 DAT
NUM2 DAT
RESULT DAT