8085 Programming : To find the no of 1’s in the byte



8085 Programming




            MVI B,00H   




            MVI C,08H  




            MOV A,D  




BACK: RAR  




            JNC SKIP  




            INR B  




SKIP:   DCR C  




            JNZ BACK  




            HLT  




  




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