Problem with IAR C Compileur for Z80

Status
Not open for further replies.

rdpdo

Junior Member level 1
Joined
May 7, 2002
Messages
17
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Visit site
Activity points
59
iar z80

Hello,
I'm using IAR C Compileur for Z80 (I think it is ICCZ80) and I dont find how to set the adresses of my ROM and RAM. In my case, my ROM is between 0000h and 1FFFh ; and the RAM is between 8000h and 87FFh.

So I'd like that the compileur place the stack in the top of my ram (87FFh) and save the data between 8000/87FF.

When i compile a exemple, the stack is at 0C1FF and not 087FFh...

Thank you very much for your help.
 

z80 xcl

Hi,
I'm using IAR C for TLCS900 ... but it should be similar...
For changing memory description you must change .xcl file for your MCU for the linker.
There are interupt vectors, RAM+ROM placement, BIT vars placement and STACK placement etc. described.


 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…