On 23 May 2012, at 13:24, Norman Dunbar wrote:

> 
> On 23/05/12 12:52, Ian Pine wrote:
>> Damn damn damn ...
>> 
>> ... because I forgot that on m68k CPUs the MOVE instructions alter the flags 
>> ...
> 
> Well, it does alter the flags, unless:
> 
> * You specifically use the MOVEA instruction; or
> 
> * You specify MOVE with an address register as the destination AND your 
> assembler quietly converts the MOVE to MOVEA.
> 
> Just to make things "interesting".
> 

Just for fun. MOVE USP,An, MOVE An.USP MOVE SR,<ea> and MOVEC Rc,Rn also leave 
the condition codes alone.

George
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to