Re: @far directive not working as expected



cyberzl1@xxxxxxxxx <cyberzl1@xxxxxxxxx> wrote:
Here is a good one for you guys......(I would ask in comp.lang.c, but
not sure this is ANSI C and those guys get weird if it isn't STRICTLY C
related).

It's worse than "not strictly" C related --- it has basically nothing
to do with the programming language C at all. It has to do with
details of the the non-standard behaviour of a particular programming
toolchain. You don't seem to even have established whether it's the
compiler or the linker whose behaviour you object to.

It is using 3 byte(ie far) addressing, BUT it stuck the bloody thing
in near space.

And why is that bad? Is that architecture of addressing functions as
"far" if they are in "near space"? Are you running out of "near"
space?

I am using a Motorolla 9s12DG128 with the cosmic compiler v 4.6a.

Now here's some information you really should have put a lot further
up in your post. Possibly in the Subject:.

--
Hans-Bernhard Broeker (broeker@xxxxxxxxxxxxxxxxxxxxx)
Even if all the snow were burnt, ashes would remain.
.



Relevant Pages

  • Re: Implicit int
    ... André Gillibert wrote: ... went into ANSI C in the early 1980s. ... but only for its backward compatibility with the type-less B programming language. ...
    (comp.std.c)
  • Re: Good Java books?
    ... rather than bombard me with a bunch of syntactic ... rules and libraries (that's what "The ANSI C Programming Language" and ...
    (comp.lang.java.help)