2.4.3
Assembly & Machine Code
Assembly Language
Assembly Language
Assembly language was the first type of programming language to come about after machine code programming.
Assembly language
Assembly language
- Assembly language was the first type of programming language to come about after machine code programming.
- Assembly language uses 3 letter mnemonics for key actions (such as INP for input), this makes them easier to remember for a developer.
Little man computer
Little man computer
- The Little Man Computer (LMC) is a virtual implementation of a Von Neumann processor that allows people to test out a basic assembly language compiler.
- This allows users to see how the registers and memory locations are used in a processor.
- The LMC has 11 assembly instructions.
Little man computer addressing
Little man computer addressing
- Assembly language is low level and can use different types of address to access memory locations.
- The LMC only supports direct addressing of memory locations.
Machine Code Instructions
Machine Code Instructions
Machine code is a low-level language that controls the CPU.
Machine code instructions
Machine code instructions
- When your program is run it is converted to machine code instructions.
- Machine code instructions will have different sized instructions based on their architecture.
- 64-bit processors will have instructions that are 64bit in size.
- These machine code instructions are split into sections.
Machine code instructions cont.
Machine code instructions cont.
- The first section is basic machine operation. This is the instruction to perform, such as addition, represented in binary.
- The second part is the addressing mode. The addressing mode is usually stored in two bits.
- The addressing mode tells the processor which type of addressing to use on the operand code or opcode for short.
- The final part of the instruction is the operand or opcode, which will be translated differently depending on the type of address mode used.
1Components of a Computer
1.1Structure & Function of the Processor
1.2Types of Processors
2Software & Software Development
2.1Systems Software
2.2Applications Generation
2.3Software Development
3Exchanging Data
3.1Compression, Encryption & Hashing
3.3Networks
4Data Types, Data Structures & Algorithms
4.1Data Types
5Legal, Moral, Cultural & Ethical Issues
5.1Computing Related Legislation
6Elements of Computational Thinking
6.1Thinking Abstractly
6.2Thinking Procedurally
6.3Thinking Logically
7Problem Solving & Programming
7.1Programming Techniques
7.2Programming Construction
Jump to other topics
1Components of a Computer
1.1Structure & Function of the Processor
1.2Types of Processors
2Software & Software Development
2.1Systems Software
2.2Applications Generation
2.3Software Development
3Exchanging Data
3.1Compression, Encryption & Hashing
3.3Networks
4Data Types, Data Structures & Algorithms
4.1Data Types
5Legal, Moral, Cultural & Ethical Issues
5.1Computing Related Legislation
6Elements of Computational Thinking
6.1Thinking Abstractly
6.2Thinking Procedurally
6.3Thinking Logically
7Problem Solving & Programming
7.1Programming Techniques
7.2Programming Construction
Unlock your full potential with GoStudent tutoring
Affordable 1:1 tutoring from the comfort of your home
Tutors are matched to your specific learning needs
30+ school subjects covered