Wednesday, June 8, 2011

3.2 Operations of the Computer Hardware

  • MIPS assembly language notation: add a, b, c
  • The notation instructs a computer to add the two variables b and c and put their sum in a
  • Each line of the language can contain at most one instruction
  • Comments always terminate at the end of a line
  • Subtract: sub a, b, c

No comments:

Post a Comment