The Programming Project: 1's compliment
Showing posts with label 1's compliment. Show all posts
Showing posts with label 1's compliment. Show all posts

Saturday, May 25, 2013

One's Compliment

To find 1's compliment without complimenting the accumulator or using XOR in 8085 Assembly Language

LDA 0000H
MVI B,09H
LOOP: RAR
CMC
DCR B
JNZ LOOP
STA 0001H
HLT