Hi, from gcc-3.4.4/gcc/config/v850/v850.h i got some ideas about the registers (#defs REGISTER_NAMES and ADDITIONAL_REGISTER_NAMES) and about the use of them from the comments to #def REG_ALLOC_ORDER.
In that file i've also read about an option "ghs", does that one switch to the Greenhills ABI? From that file i can't really conclude everything. For example i don't know if registers 20 and 21 hold the values 255 and 65535 (an optimisation on V850). The startup code in newlib assigns them, but does gcc really rely on that and uses that (this question is just an example)? Is there a description of the ABI or the ABIs available? Best regards, Torsten.