hantto
Member
Hello!
How is maths done with pics using assembler? The basic operations multiply, divide, add and substract.
For eg, I have a value of say 50 (110010) in a register and I want to multiply it with 60 (111100) and store it back in the register. How is this done? And the answer is over 255 so i can't use an 8-bit register anymore.
Thanks for your time.
How is maths done with pics using assembler? The basic operations multiply, divide, add and substract.
For eg, I have a value of say 50 (110010) in a register and I want to multiply it with 60 (111100) and store it back in the register. How is this done? And the answer is over 255 so i can't use an 8-bit register anymore.
Thanks for your time.