Arithmetic group instructions of 8051.

By


Arithmetic group instructions of 8051.

Applications of microcontrollers often involve performing mathematical calculations on data in order to alter program flow and modify program actions.
  • INC destination; Increment destination by 1
  • DEC destination; Decrement destination by 1
  • ADD destination, source; addition without carry flag
  • ADDC destination, source; addition with carry flag
  • SUBB destination, source; subtract with carry
  • MUL AB; multiply
  • DIV AB; divide
  • DA A; decimal adjust the a register

0 comments:

Post a Comment

If you have any questions or droughts feel free to ask here.