Assembly Instructions


In order for programs to be turned into machine code they must be written in assembly language or at least be converted into assembly language. Assembly language is the lowest programming language.

Instruction (Mnemonic code)Explanation
ADDAdd the current item in the accumulator with the address defined
SUBSubtract the current item in the accumulator with ther address defined
STAStore the current item in the accumulator into memory
LDALoad from memory
BRABranch always
BRZBranch if the accumulator is zero
BRPBranch if the accumulator is positive
INPTake in a input and store into the accumilator
OUTPrint out the current state of the accumulator
HLTEnd the program
DATData location
  • Each instruction is 3 letters long
  • There are 11 instructions in total

See also