Presentation is loading. Please wait.

Presentation is loading. Please wait.

Little Man Computer Lesson 2

Similar presentations


Presentation on theme: "Little Man Computer Lesson 2"— Presentation transcript:

1 Little Man Computer Lesson 2
LMC What do you recall about LMC? HIGHER LOWER AND SUBTRACTION Little Man Computer Lesson 2

2 REMEMBER THESE CODES? 901? 118? 2XX? 3XX? IN? DATA?

3 RECAP ?

4 WHAT WILL THIS PROGRAM DO?

5 Now using the compiler create the code / program
Now using the compiler create the code / program. test your program does it do what you expected?

6 COMPILER TOP TIPS ALWAYS SAVE THE FILE BEFORE RUNNING
ENSURE THE LMC IS RESET ADD THE VARIABLES (DATA) TO THE END

7 COMPILER VERSION Higher or lower

8 CAN YOU BUILD A PROGRAM THAT SUBTRACTS?
Write down what you have to do first What are the stages? Convert to code Use the Compiler Test!

9 Subtraction – mail boxes answers

10 SUBTRACTION: LMC STYLE
Subtractions – compiler version

11 LMC Challenges Easy: Can you subtract TWO numbers?
Medium: Can you make a countdown? Brain Drain: Can you Multiply two numbers?


Download ppt "Little Man Computer Lesson 2"

Similar presentations


Ads by Google