8085 Programming: 2's COMPLEMENT OF AN 8-BIT NUMBER



8085 Programming






The number to be complemented is stored in C050. Answer is stored in C051



  LDA C050

  CMA

  INR A

  STA C051

  HLT



EXAMPLE-> C050=96

Answer-> C051=6A





0 Comments