meowth08
Member
Hi,
I want to convert an 8-bit binary to 12 bit Binary Coded Decimal using assembly programming in 8051.
I mean: ex. binary:1111 1111 to BCD: 0010 0101 0101
I am having a hard time figuring out how to do this.
Could someone show me the code for this or maybe the technique on how to do this?
Thank you.
I want to convert an 8-bit binary to 12 bit Binary Coded Decimal using assembly programming in 8051.
I mean: ex. binary:1111 1111 to BCD: 0010 0101 0101
I am having a hard time figuring out how to do this.
Could someone show me the code for this or maybe the technique on how to do this?
Thank you.