Zohreh Mojtahedi

DIV in HCS08

Discussion created by Zohreh Mojtahedi on Nov 3, 2008
Latest reply on Nov 3, 2008 by Tony Papadimitriou
Hello All,
 
I'm new to the field and to the forum.
 I'd like to divide a 16bit by 10 repeatedly (to display it in decimal).
As MC9S08AW60 supports 16 by 8 bit Division, and the quotient and Remainder are each one byte, I do not know how to manage that? I expect 2 bytes for Q!
 
Will you explain in an easy language as English is not my first language?
Thanks in advance
 
Zohreh
 
 

Outcomes