Brilliant, that did the trick!
I can work with that as anyway most of the variable are in an array (with
compile time knows
indexes) of structs anyway so I need to just wrap all variables in in struct.
Of course it would be nice and logical if the compiler had understood that the
variables
are in the same bank in this situation.
Many thanks for your help.
br Kusti
From: "rnei...@web.de<mailto:rnei...@web.de>"
<rnei...@web.de<mailto:rnei...@web.de>>
Reply-To:
"sdcc-user@lists.sourceforge.net<mailto:sdcc-user@lists.sourceforge.net>"
<sdcc-user@lists.sourceforge.net<mailto:sdcc-user@lists.sourceforge.net>>
Date: Mon, 23 Jun 2014 07:14:09 +0300
To: "sdcc-user@lists.sourceforge.net<mailto:sdcc-user@lists.sourceforge.net>"
<sdcc-user@lists.sourceforge.net<mailto:sdcc-user@lists.sourceforge.net>>
Subject: Re: [Sdcc-user] PIC forcing variables to be on the same bank
struct {
char counter;
short NCO;
short SPEED;
short OLDV;
/*... */
} grp;
________________________________
This e-mail may contain confidential or privileged information. If you are not
the intended recipient (or have received this e-mail in error) please notify
the sender immediately and destroy this e-mail. Any unauthorized copying,
disclosure or distribution of the material in this e-mail is strictly
forbidden. We will not be liable for direct, indirect, special or consequential
damages arising from alteration of the contents of this message by a third
party or as a result of any virus being passed on or as of transmission of this
e-mail in general.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user