??? 07/09/07 09:11 Read: times |
#141593 - data declaration problem |
when I tried to declare a new variable
unsigned char data testfd6; the address space overflows how come? idata works fine I know idata is the whole 256 byte space and data is the first 128 byte of memory space and there is obviously space(gap) in the first 128byte of memory space can someone help??? * * * * * * * D A T A M E M O R Y * * * * * * * REG 0000H 0008H ABSOLUTE "REG BANK 0" DATA 0008H 0014H UNIT _DATA_GROUP_ 001CH 0004H *** GAP *** DATA 0020H 0008H BIT_ADDR ?BA?XXACT_H BIT 0028H.0 0000H.1 UNIT _BIT_GROUP_ 0028H.1 0000H.7 *** GAP *** IDATA 0029H 000FH UNIT ?ID?XXACT_H 0038H 0030H *** GAP *** |
Topic | Author | Date |
data declaration problem | 01/01/70 00:00 | |
Look at the Map file! | 01/01/70 00:00 | |
hmm... how? | 01/01/70 00:00 | |
Think about it - nothing weird! | 01/01/70 00:00 | |
So why did they do that? | 01/01/70 00:00 | |
thanks andy~ | 01/01/70 00:00 | |
advice on the usage of absolute addresses | 01/01/70 00:00 | |
so how do i check? | 01/01/70 00:00 | |
It should be documented! | 01/01/70 00:00 | |
i see | 01/01/70 00:00 | |
incomplete | 01/01/70 00:00 | |
Pay attention! | 01/01/70 00:00 | |
to what? | 01/01/70 00:00 | |
Jojo's back | 01/01/70 00:00 | |
please read the content in that link | 01/01/70 00:00 | |
gaps | 01/01/70 00:00 | |
ya... | 01/01/70 00:00 | |
read my post above ... | 01/01/70 00:00 | |
I got it now | 01/01/70 00:00 | |
How to make a gap![]() | 01/01/70 00:00 | |
Not a declaration problem! | 01/01/70 00:00 |