I am currently working with PIC microcontroller 16F877A. I am only allowed to work in Assembly (nothing high level like C). I have a number saved in a register. I need to display it on the LCD.
I was thinking of separating the digits, then sending the ASCII value of each digit. The only issue is that the value is of course stored in binary. I am stuck. Does anyone have any ideas.
Like for example, if what I have saved in the register is 168, then I would separate it to 1 and 6 and 8 then send the ASCII values of each of those.
I was thinking of separating the digits, then sending the ASCII value of each digit. The only issue is that the value is of course stored in binary. I am stuck. Does anyone have any ideas.
Like for example, if what I have saved in the register is 168, then I would separate it to 1 and 6 and 8 then send the ASCII values of each of those.