| Jan Waclawek 05/28/09 16:29 Read: 218 times Bratislava Slovakia |
#165688 - it's much less for DATA Responding to: Matthias Arndt's previous message |
Matthias Arndt said:
Actualyl I don't think that memory allocation is so tight for CMON51. It banks all monitor data to XRAM for user applications so I think it should do well with the full 256bytes available. I didn't investigate how does the actual monitor work, just looked at the listings. But as long as there's no memory qualifier, SDCC puts declared data into memory space based on the memory model set in command line, which is by default the direct-addressable DATA space. And that's much less than 256 bytes - it's the lower 128 bytes less registers bit data, overlayed data (which is just another form of local/automatic data) and maybe also something else I forgot. JW |
| Topic | Author | Date |
| SDCC Linker problem with CMON51 | Matthias Arndt | 05/27/09 11:51 |
| a wild, wild guess | Erik Malund | 05/27/09 12:04 |
| I already tried a typecast | Matthias Arndt | 05/27/09 12:07 |
| Why not take this to the SDCC forum? | Richard Erlacher | 05/27/09 13:01 |
| Already considered this... | Matthias Arndt | 05/27/09 14:06 |
| another possibility which is easy to check if ... | Erik Malund | 05/27/09 15:21 |
| I assume so... | Matthias Arndt | 05/27/09 15:40 |
| findings | Jan Waclawek | 05/27/09 16:18 |
| findings2 | Jan Waclawek | 05/27/09 16:43 |
| Temporary fix | Matthias Arndt | 05/28/09 11:08 |
| back to the drawing board... | Matthias Arndt | 05/28/09 11:43 |
| it's much less for DATA | Jan Waclawek | 05/28/09 16:29 |
| fix for --funsigned-char | Jan Waclawek | 06/01/09 03:34 |
| I'd like to but... | Matthias Arndt | 06/01/09 12:24 |
| how to patch | Jan Waclawek | 06/01/09 15:35 |
| Patch worked but SDCC doesn't compile anymore... | Matthias Arndt | 06/01/09 15:58 |
| HOW doesn't compile? | Jan Waclawek | 06/01/09 16:07 |
| Buffer cut | Matthias Arndt | 05/27/09 16:45 |
| not enough direct-addressable memory | Jan Waclawek | 05/27/09 13:07 |
| Nice idea but.... | Matthias Arndt | 05/27/09 14:04 |
| I can try with the versions I have here... | Jan Waclawek | 05/27/09 14:26 |
| Sure, why not | Matthias Arndt | 05/27/09 14:59 |
| Solution found | Matthias Arndt | 05/29/09 11:51 |
SDCC Linker problem with CMON51 | Yathish Kumar.N.S | 06/19/09 08:29 |



