Damn damn damn ...
I've just spent nearly a day and a half trying to debug a simple bit of
assembler code because I forgot that on m68k CPUs the MOVE instructions alter
the flags and I was convinced all sorts of other problems might've been the
cause, but in the end all I had to do was swap two instructions:
move.l d5,d0
and.l d6,d0 <-
moveq #'0',d1 <-
beq.s sk1
moveq #'1',d1
sk1 ...
should've been:
move.l d5,d0
moveq #'0',d1 <-
and.l d6,d0 <-
beq.s sk1
moveq #'1',d1
sk1 ...
That'll teach me not to try to develop the same program on two different
platforms at the same time!
Damn damn fume blast ...
Never mind though, might be a little something for QL Today when I've tidied it
all up.
Ian.
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm