Function return values are stored in R0. The register, R15, has a reserved use. Registers, R0 through R7, T, MACH and MACL, can be used for temporary values.
When a function is compiled with the default options, it must return with registers R8 through R1 unchanged.
The switch, -mhitachi SH, makes the MACH and MACL registers caller-saved, for compatibility with the Hitachi SH tool chain at the expense of performance.
|
© 2004 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Contact Red Hat |