Presentation is loading. Please wait.

Presentation is loading. Please wait.

Do it now – PAGE 10 You will find your do it now task in your workbook – look for the start button! Tuesday, 15 January 2019.

Similar presentations


Presentation on theme: "Do it now – PAGE 10 You will find your do it now task in your workbook – look for the start button! Tuesday, 15 January 2019."— Presentation transcript:

1 Do it now – PAGE 10 You will find your do it now task in your workbook – look for the start button! Tuesday, 15 January 2019

2 DUE today Submit on paper or on showmyhomework Investigate what has to happen to assembly language programs so they can be processed by a computer. DUE:

3 Low level programming

4 Learning Objective “Find out how low-level programming is used to make programming a computer easier” You will find differentiated outcomes for this lesson on the front of your workbook. Tuesday, 15 January 2019

5 New Learning Mnemonic Decimal number Machine code INP 901 1110000101
OUT 902 ADD 1XX 0001 XXXXXXX STA 3XX 0011 XXXXXXX HLT 0000 DAT Number of memory location Max 99 Binary version of memory location Max Find out how low-level programming is used to make programming a computer easier

6 Comment the low level program on
Independent Task Comment the low level program on page 10 Find out how low-level programming is used to make programming a computer easier

7 Independent Task Answer the question on page 11
Find out how low-level programming is used to make programming a computer easier

8 Learning Development Translator Assembler Machine code
When the program is going to be run on a computer it first has to be translated into binary using a type of translator called an assembler. The first thing the computer does is work out where each instruction will be stored – in the LMC this is done by numbering each instruction starting with 0 for the first instruction – this also allows the data to be given mailbox numbers so the computer knows where to store the data Find out how low-level programming is used to make programming a computer easier

9 Learning Development 0 STA 1 INP 2 HLT
When the program is going to be run on a computer it first has to be translated into binary using a type of translator called an assembler. The first thing the computer does is work out where each instruction will be stored – in the LMC this is done by numbering each instruction starting with 0 for the first instruction – this also allows the data to be given mailbox numbers so the computer knows where to store the data Find out how low-level programming is used to make programming a computer easier

10 Independent task Number the instructions to find out what mailbox they will be stored in. Then have a go at working out what the operand will be for STA price1 etc. Page 11 Find out how low-level programming is used to make programming a computer easier

11 Answer the questions at the bottom of page 11
Independent task Answer the questions at the bottom of page 11 Page 11 Find out how low-level programming is used to make programming a computer easier

12 Talk Task What is the word used to describe programs written in languages like the LMC? What is high level programming? How did you find writing a program purely in binary? What are the features of a low level programming language? How could this be improved? How did you find writing the same program in low level programing language? Discussion about compiler being specific to CPU so that the program is translated into the correct instructions as set out by the instruction set of the CPU Find out how low-level programming is used to make programming a computer easier

13 What is low level programming?
Exit ticket What is low level programming? R A G Find out how low-level programming is used to make programming a computer easier


Download ppt "Do it now – PAGE 10 You will find your do it now task in your workbook – look for the start button! Tuesday, 15 January 2019."

Similar presentations


Ads by Google