On Thu, Mar 23, 2017 at 1:55 AM, Willard Goosey <[email protected]> wrote:

>
> And I really really hoped that the system variables would be as easily
> used. Unfortunately it's not to be. A reference to extern char *CRSX
> (x=CRSX) generates "lhld CRSX \n mov a,m" when what I need is "lxi h,
> CRSX\n mov a,m" . I am very sad.
>
> I've looked through the code generator already and there's no hope. It
> looks like the best I can do is have the system variable names as #defines.
> Anything else would result in a huge tabke of pointers in the .co file that
> might not even be used!
>
>
>
perhaps what you want is

extern char CSRX;


CSRX = '\x65';

-- John.

Reply via email to