Subject: Re: a question about arm-gcc
To: Toru Nishimura <locore64@alkyltechnology.com>
From: Danny Lau <liudengcs@gmail.com>
List: port-arm
Date: 06/07/2006 15:14:44
------=_Part_10456_29740717.1149664484639
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

>
>
>
 For that lib function, I have to rewite it as:

unsigned int *p;
unsigned int c[] = { 0x30,....0x39, 0x61,...0x66 };
*p++ = c[ul % base];

This could get correct result, but waste a lot of space.


> >
>
>
>

------=_Part_10456_29740717.1149664484639
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><span class="e" id="q_10bad44e007b47cb_1">
<div></div></span>&nbsp;</div></blockquote></div>
<div>
<div>For that lib function, I have to rewite it as:</div>
<div>&nbsp;</div>
<div>unsigned int *p;</div></div>
<div>unsigned int c[] = { 0x30,....0x39, 0x61,...0x66 };</div>
<div>*p++ = c[ul % base];</div>
<div>&nbsp;</div>
<div>This could get correct result, but waste a lot of space.</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div><span class="e" id="q_10bad44e007b47cb_1">
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>&nbsp;</blockquote></div><br></span></div></blockquote><br>

------=_Part_10456_29740717.1149664484639--