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





Comments

Popular posts from this blog

Write a Program to Add two 3x3 Matrix using C

C program for Unit Conversion

Write a Program to Add two 5x5 Matrix using C