smallint usage guidelines

David Seikel won_fang at yahoo.com.au
Mon Apr 9 02:51:19 PDT 2007


On Mon, 09 Apr 2007 11:45:40 +0200 Natanael Copa
<natanael.copa at gmail.com> wrote:

> 	; eax = 1
> 	xor eax,eax	; 2 bytes
> 	inc eax		; 1 byte
> 
> 	; eax = -1
> 	xor eax,eax	; 2 bytes
> 	dec eax		; 1 byte
> 
> 	; eax = 256
> 	xor eax,eax	; 2 bytes
> 	inc ah		; 2 bytes IIRC
> 
> oh.. busybox is coded in C and not asm... then this is irrelevant ;-)

And runs on more than just x86 compatible CPUs.

Hell, I have a PlayStation 3 sitting in front of me with busybox
running on it, that's nothing like an x86.  B-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20070409/34e51de0/attachment.pgp 


More information about the busybox mailing list