From: Frieder F. <fri...@we...> - 2006-05-11 22:16:40
|
Hi, >> So, (stupid question of the day) is there an elegant way to allocate register >> r7 from C source file ? > > There is no real elegant way. The solutions are to create an asm > template file from a C source, then ditch the C source and update the > asm file like you did, or use inline assembly and do sort of the same > thing. I think pure asm is the way to go. would it make sense to support yet another calling convention? (We have caller-saves and callee-saves but we might also offer a pragma for a r7..rx calling convention?) Greetings, Frieder |