[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [oc] problems with the assembler
Damjan Lampret wrote:
>
> >
> > I have found some problems with the assembler (GNU as). It
> > can't handle immediate values for the lo() and hi() options
> > to "l.immlo16u" and "l.immhi16u".
> >
>
> This is the part that is not working correctly. Symbol relocation needs
> work. Johan, you can try to assemble a couple of short programs and you'll
> soon find out what exactly is the problem. Also inverse routine is also used
> in objdump and is not working correctly for displaying l.immXX16u insns.
I have fixed this. Now lo() and hi() works with abosule values. It also
works with reloc-addresses (these becomes non-pc relative).
I'm now looking into how to be able to use "h.movi32" instead of
"l.immXX16u"
in some places.
--
Johan Rydberg johan.rydberg@netinsight.net
Net Insight AB, Sweden direct: +46-8-685 04 17
http://www.netinsight.net phone: +46-8-685 04 00
fax: +46-8-685 04 20