Tuesday, 6 November 2007

assembly language

assembly language is a second generation low level language made up from mnemonics which can be used as instead of machine code as it is easier to use. the format of anassembly code instruction consists of 4 parts:
  • label - used as a reference
  • op code - contains the mnemonic
  • operands - describes the source data which is being operated on
  • comments - provide convenience for programmer

an instruction only has to contain two of these though as labels are not needed for all instructions and comments are optional.

No comments: