Assembly language is a general term for any code that is specific to a certain type of processor. On the lowest level, it’s just a way of encoding the raw data the CPU executes. However, there are several extra facilities in modern assemblers that are useful to us.
- Comments are essential.
- Numbers is a quick overview of hex and binary.
- Directives offer control over the way the assembler program understands our code.
- Labels help us to refer to data and code in a readable way.
- Opcodes let us enter the CPU instructions with total control.
- Memory is where the code is stored, and where data comes from and goes to.
- Registers are where we hold the data we are working on.
- Ports are how we communicate with the outside world.