Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Embeded-SCM Develop SCM
Title: B16TOBCD Download
 Description: Binary To BCD Conversion Routine This routine converts a 16 Bit binary Number to a 5 Digit BCD Number. This routine is useful since PIC16C55 & PIC16C57 have two 8 bit ports and one 4 bit port ( total of 5 BCD digits) The 16 bit binary number is input in locations H_byte and L_byte with the high byte in H_byte. The 5 digit BCD number is returned in R0, R1 and R2 with R0 containing the MSD in its right most nibble. Performance : Program Memory : 35 Clock Cycles : 885
 Downloaders recently: [More information of uploader jason780501]
 To Search:
File list (Check if you may need any files):
B16TOBCD.ASM
    

CodeBus www.codebus.net