Hello- I'm new here and wonder if anyone has MSP430 code that will convert 16-bit binary to 5 bytes of ASCII. Prefer assembler and while I'm at it I could use assembler code that does a print function thru the USART. I thought of looking at assembler listing of printf but IAR freebie software wont let me view assembled version of C . Thanks - Steve / Columbus, Ohio
Looking for Binary to ASCII Code
Started by ●June 1, 2004
Reply by ●June 2, 20042004-06-02
Steve, > Hello- > I'm new here and wonder if anyone has MSP430 code that will convert > 16-bit binary to 5 bytes of ASCII. > > Prefer assembler and while I'm at it I could use assembler code that > does a print function thru the USART. > > I thought of looking at assembler listing of printf but IAR freebie > software wont let me view assembled version of C . Sounds like a homework assignment to me... -- Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk CrossWorks for MSP430, ARM, and (soon) Atmel AVR processors
Reply by ●June 2, 20042004-06-02
At 04:10 AM 02-06-04, you wrote:
Check out slaa024.pdf on the TI website - binary to bcd conversion
Good luck
Peter
>Hello-
>I'm new here and wonder if anyone has MSP430 code that will convert
>16-bit binary to 5 bytes of ASCII.
>
>Prefer assembler and while I'm at it I could use assembler code that
>does a print function thru the USART.
>
>I thought of looking at assembler listing of printf but IAR freebie
>software wont let me view assembled version of C .
>
>Thanks -
>Steve / Columbus, Ohio
>
>
>
>
>
>.
>
>
>Yahoo! Groups Links
>
>
>
>