Microprocessors & Applications (UPTU)Appendix BØØExplanation : •For ASCII-BCD conversion.(i)Subtract the ASCII number by 30 H to get the valid BCD number.•e.g. to convert 35 H i.e. ASCII 535-3005•05 is the BCD equivalent of 35 H.ØØAlgorithm : Step I:Get the number whose BCD code equivalent is to be found.Step II:Subtract the number by 30 H to get its BCD equivalentStep III
This is the end of the preview.
access the rest of the document.