A89: Re: Re: TIOS functions disobey register conventions!
[Prev][Next][Index][Thread]
A89: Re: Re: TIOS functions disobey register conventions!
Hi!
I am replying to my own answer...
I just checked movem.w, and what I have found (I didn't know this
before):
movem.w (sp)+,d3-d4
IS NOT THE SAME AS
move.w (sp)+,d3
move.w (sp)+,d4
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!!!
it sucks
It sucks.
It Sucks.
IT SUCKS.
IT SUCKS...
IT REALLY SUCKS!
IT REALLY SUCKS!!!!!!
IT REALLY SUCKS!!!!!!
IT REALLY SUCKS!!!!!!
IT REALLY SUCKS!!!!!!
IT REALLY SUCKS!!!!!!
IT REALLY SUCKS!!!!!!
IT REALLY SUCKS!!!!!!
IT REALLY SUCKS!!!!!!
IT REALLY SUCKS!!!!!!
Zeljko Juric
Follow-Ups: