|
From: | Karsten Becker |
Subject: | Re: [avr-gcc-list] avr seminar Summary |
Date: | Tue, 10 Jun 2003 14:51:10 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529 |
Keith Gudger wrote:
Doesn't GCC places a GP Symbol so that global variables are within 16-Bit range?Global structs help because the compiler can load the base address into the 'X' register, and then access any member with the 'X + offset' type of instructions. In any routine with multiple calls to global variables, this can save a lot of space.
Karsten
[Prev in Thread] | Current Thread | [Next in Thread] |