Program that takes two nibbles from 2100H and 2101H and combines to form a byte. The nibbles from 2100 are to be taken as most significant nibble.
To extract a nibble we will use the Anding operation....
-----------
LDA 2100H;
ANI F0;
MOVE B,A;
LDA 2101H;
ANI 0F;
ADD B;
STA 2103H;
HLT;
-----------
No comments:
Post a Comment