A89: Re: TIOS functions disobey register conventions!


[Prev][Next][Index][Thread]

A89: Re: TIOS functions disobey register conventions!




Hi!

| I am replying to my own answer...

Which answer?

| move.w performs SIGN EXTENDING into the high word!!! I checked this
| on real Motorola!!! VTI works correctly!!! So, all TIOS routines
| which uses movem.w for saving registers may cause trashing of high
| word of these registers!!!

Sorry about the lack of technical understanding, but do you have any idea
about how many there are, and if this applies only to d0-d4?

Maybe we should tell TI.  I suppose they don't know; otherwise they wouldn't
be using these instructions.  If I understand you correctly, only one bit is
trashed, right?

Sebastian




References: