On 2007-04-13, Oszkar Ambrus <[email protected]> wrote:
> Ok, thank you very much.
> Then probably I'll start working on that, after adding 'calla' to the
> compiler.
>
> I'm not planning to add 20-bit data instructions to the compiler, because
> that would be very hard, and mostly useless.
Without 20-bit data instructions, how does one manipulate
"far pointers"? Are there 32 bit pointers to code and 16 bit
pointers to data? Using 32-bit pointer arithmetic instead of
20-bit seems a bit wasteful.
> What I intend to do is add only tha calla and reta to support
> 1Mb of code size.
So no pointers to functions?
> What I ran into is that the msp430.c nor the msp430.md do not
> use an emit_call instruction, like other architectures do.
> That complicates things a lot. I do not know where to make it
> use a 20-bit call, if I implement that in binutils.
>
> So I'd like to see first, that it does generate the correct
> assembler code, and than add the binutils functionality.
--
Grant Edwards grante Yow! Have my two-tone,
at 1958 Nash METRO brought
visi.com around...