Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
18 Cards in this Set
- Front
- Back
- 3rd side (hint)
Low level programming language |
A programming language that is closely related to the CPU’s machine code |
|
|
Instruction Set |
The list of all possible commands a particular CPU knows how to carry outmachine |
|
|
Machine Code |
The binary code representing each of the instructions in the instructions set |
|
|
Problems with Machine Code |
Difficult to work out sequence of 1’s and 0’s
Would only work on that CPU (different instruction sets) |
|
|
Translator |
A program that converts source code into machine code |
|
|
Translators are what.... |
Programs |
|
|
Source Code |
The text of the program that the programmer writes |
|
|
Simplest translator |
Assembler |
|
|
What does an assembler do |
Converts assembly language to machine code |
|
|
What type of level is assembly language |
Low |
|
|
Assembly Language |
A low level language written using mnemonics |
|
|
Mnemonic |
Acronym that represents an instruction in the CPU’s instruction set |
|
|
Examples of Mnemonics |
LDR - load register STR - store CMP - compare |
3 |
|
Why is it a low language |
Lowest level of detail Closest to machine code |
|
|
Problems of writing programs in assembly language |
Limited range of instructions (every task has to be built up) Manage all your data (no string, int or actual numbers - only binary) + manage where to store in memory Debugging is hard, makes machine crash when to
|
3 |
|
When to use Assembly Language |
Hardware drivers Programs on embedded systems |
|
|
When is assembly language useful |
When program is very small Very fast Directly in control with I/O hardwares |
|
|
High level languages examples |
Python Java Visual Basic |
|