Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with IAR C Compileur for Z80

Status
Not open for further replies.

rdpdo

Junior Member level 1
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.


rdpdo said:
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.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top