charu2539211
Junior Member level 3
- Joined
- Jul 22, 2013
- Messages
- 31
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 8
- Activity points
- 200
Hi all
I am doing a project and i have a value stored in the memory location. I need to extract the hundred, tenth and unit digit so that i can display them on three seven segment display individually....
usually we do this ( here i am taking the value to be 250 for example)
250%10= 0(unit digit)
250/10= 25 (qotient)
25/10=2 (hundredth digit)
25%10=5 (tenth digit)
so now i have to implement this in pic assembly for any value i have stored in a particular memory loaction . I am using p16f887 and mpasm assembler.
any ideas would be of great help.
I am doing a project and i have a value stored in the memory location. I need to extract the hundred, tenth and unit digit so that i can display them on three seven segment display individually....
usually we do this ( here i am taking the value to be 250 for example)
250%10= 0(unit digit)
250/10= 25 (qotient)
25/10=2 (hundredth digit)
25%10=5 (tenth digit)
so now i have to implement this in pic assembly for any value i have stored in a particular memory loaction . I am using p16f887 and mpasm assembler.
any ideas would be of great help.