GCSE Computing . Lesson 5. Candidates should be able to: explain the difference between high level code and machine code explain the need for translators to convert high level code to machine code describe the characteristics of an assembler, a compiler and an interpreter.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Can a program be written directly
In machine code?
Whatis assembly language and
LOOP SUB ONE // RAM address label LOOP. Subtract value stored at RAM address ONE
OUT // Output the number
BRZ QUIT // If at 0, branch to RAM address QUIT
BRA LOOP // Not at 0 so branch to RAM address LOOP
QUIT HLT // RAM address label QUIT. End the program
ONE DAT 1 // DATA, store 1 in this RAM address, and label it ONE
Task that the CPU actually executes.Using the LMC and the worksheet 1 enter in the programs and execute them to see how the computer deals with the programTry and have a go of the questions in worksheet 2