How to make gcc -S generate hexadecimal values, not decimal

Alain Enout enout@eurecom.fr
Fri Oct 1 00:00:00 GMT 1999


Hello,

When using the -S option of gcc to generate assembly code, values seem to be
decimal. This is very annoying, as my C code contains hexadecimal values :-).

Does somebody know how to make gcc -S generate hexdecimal values in the
assembly code ? Or is there a tool which is aware of the assembly syntax
that could do that ?

Thanks in advance.

-- 
Alain ENOUT                     Research Engineer, Mobile Communications Dpt
enout@eurecom.fr                                 Phone: +33 (0)4 93 00 26 65
EURECOM, 2229 rte des cretes, BP 193, F-06904 Sophia Antipolis Cedex, France


More information about the Gcc-help mailing list