gnupic: Thread: How to correctly use UDATA ?


[<<] [<] Page 1 of 1 [>] [>>]
Subject: How to correctly use UDATA ?
From: Vaclav ####@####.####
Date: 29 Aug 2007 11:04:45 +0100
Message-Id: <1243.2126-1406-224375478-1188381865@seznam.cz>

Hello all,

I used to use CBLOCK for uninitialized data section.

But now I am writing larger program so I need relocatable code. But I want to manage placing by myself to correct data-bank.

In LKR file there is following line:
DATABANK   NAME=gpr0     START=0x20     END=0x6F
DATABANK   NAME=gpr1     START=0xA0     END=0xEF

How can I set that some variables should be put into "gpr0" section and others into "gpr1" section ?

Thank you in advance and apologize for (maybe) stupid question,
Vaclav
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.