assembly language

References

Summary

A low-level language: one step above machine language

Machine language is the language of each particular machine

Assembly language

In other words, assembly code and machine code are isomorphic, but assembly is easier for humans to understand.

However, assembly still isn't easy to understand, so other programming languages exist, which make coding easier for humans

Directives

Tell the assembler what to do

Start with a period

.data

You declare variables here

Use a question mark to signify a variable isn't to be initialized

.code

Instructions

Tell the CPU what to do

mov

Moves data around

mov num1, 5 ; moves the integer 5 to the memory location corresponding to num1

Operators