wannaBinventor
Member
I'm looking for some advice on how to take an 8 bit number and convert it where I preserve all of the bits in the 8 digit byte, but have them separated into to different user files. (All in assembly)
I've tried to think through it a little, but I really can't think of a way to do it.
Maybe I'm thinking about it the wrong way and splitting into two 4 bit segments won't help.
I need to take a number, say, 75, and then take the tens place value (the 7) into one bit and then the ones place value (the 5) into another bit. From there, they will be clocked separately into an LCD display.
Any help is appreciated.
Also: I'm wondering how to check the remaining memory on a PIC. I've got a 16F818 that I think was getting too full (compile errors indicating out of range). When I deleted some code, it compiled without error. How can this be checked?
Thanks!
I've tried to think through it a little, but I really can't think of a way to do it.
Maybe I'm thinking about it the wrong way and splitting into two 4 bit segments won't help.
I need to take a number, say, 75, and then take the tens place value (the 7) into one bit and then the ones place value (the 5) into another bit. From there, they will be clocked separately into an LCD display.
Any help is appreciated.
Also: I'm wondering how to check the remaining memory on a PIC. I've got a 16F818 that I think was getting too full (compile errors indicating out of range). When I deleted some code, it compiled without error. How can this be checked?
Thanks!
Last edited: