MMC Hex (more)

Joerg Schilling schilling at
Thu Jan 3 07:37:20 PST 2002

* From the T10 Reflector (t10 at, posted by:
* Joerg Schilling <schilling at>
>From owner-t10 at Wed Jan  2 19:01:02 2002

>Assume a C/C++ environment where:

> char is 8-bit
> short is 16-bits
> long is 32-bits

>and assume all of these default to signed.

>Many programmers will use typedef's such as:

> typedef unsigned char UI8
> typedef char SI8
> typedef unsigned short UI16
> typedef short SI16
> typedef unsigned long UI32
> typedef long SI32
> typedef ??? HEX   // please complete this typedef 
>                   // so that it works with MMC-2/-3

A better method is to use the standard include file


and to use the types:

int8_t, uint8_t, int16_t, ...

This will work with all compilers if you assume thwos complement


 EMail:joerg at (home) Jorg Schilling D-13353 Berlin
       js at		(uni)  If you don't have iso-8859-1
       schilling at		(work) chars I am J"org Schilling
* For T10 Reflector information, send a message with
* 'info t10' (no quotes) in the message body to majordomo at

More information about the T10 mailing list