> Am 07.04.2018 um 15:50 schrieb Maarten Brock:
>
>> I see in the stm8-large regression that you fixed it by loading the
>> least
>> significant word into x and the most significant byte into a and write
>> those to the function pointer location as you need them. Is this an OK
>> solution or would you still prefer the most significant word in x and
>> the least significant byte in a?
>>
>
> The current solution is a bit of an ugly hack, but will certainly be
> good enough for nearly all users. From this side the issue isn't a big
> deal any more.
>
> However, the >> 8 bug on the assembler / linker side still seems
> dangerous to me, in case someone tries to use >> 8 in asm code. After
> all it not just loads wrong data, but also silently overwrites the
> following instruction.
>
> Philipp

Can you check if my commit of today fixes this?

Maarten



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to