This is my microcontroller assignment. I have to convert 3 digit number stored in RAM location $00-$02 in the format of BCD to an 8-bit integer value stored in accumulator A. Most significant digit is stored at $00. this is the sample of input and output.
&0000 &0001 &0002 Integer returned in A
0 1 3 $0D = 13
2 5 5 $FF = 255
anyone plz help me to solve this problem. tq!!