Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/15/04 13:51
Read: times


 
#81175 - RE: If it aint broke...
Responding to: ???'s previous message
Err... so why don't you just use the Keil version?


Because this one can't be ported to another platform. OUR CODE must be ported.
Another reason is that we need some special cases of stdio, adapted for concrete input/output devices. Of course it's not so important for Sprintf (but it's important for printf , fputs, etc...).
Reason number 3 is that we need all stdio&stdlib functions to be reentrant.
Reason number 4: we are curious to do this and taht's enough :)

Have you checked the Code Library on this site - there's multibyte arithmetic there.

Yes, but there are n't 32bit to ASCII or 32 bit division BY CONSTANT alghorithms. Only common division. (There is also UTIL_BINTOASC - Convert binary to ASCII function, but this one allows only
Convert Value In Low 4 Bits Of Acc To A Hex Digit
)

List of 8 messages in thread
TopicAuthorDate
Division by 32bit constant            01/01/70 00:00      
   RE: Division by 32bit constant            01/01/70 00:00      
   If it aint broke...            01/01/70 00:00      
      RE: If it aint broke...            01/01/70 00:00      
   RE: Division by 32bit constant            01/01/70 00:00      
      RE: Division by 32bit constant            01/01/70 00:00      
         RE: Division by 32bit constant            01/01/70 00:00      
   RE: Division 32bit by 10            01/01/70 00:00      

Back to Subject List