Change BSS org address

Other misc things
Post Reply
carlesoriol
New member
Posts: 4
Joined: Mon Nov 28, 2022 10:25 pm

Change BSS org address

Post by carlesoriol »

I'm compiling for a zx48 with sdcc_iy mixed assembly.

How can I change the place where bss_user, data_user, and ro_data are? (org for bss_user...)

thanks
derekfountain
Member
Posts: 121
Joined: Mon Mar 26, 2018 1:49 pm

Re: Change BSS org address

Post by derekfountain »

Have a look here. In particular, the CRT_ORG_BSS, CRT_ORG_DATA and CRT_ORG_CODE pragmas are what you're looking for.
Post Reply