Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*

SubjectRe: Another 68k question Reply to this message
Posted byJan_Klaassen
Posted on08/15/04 11:29 PM

> Maybe this is a really dumb question so please bear with me :-)
> With the "MOVE EA,EA" opcode, the documentation says the N and Z flags are
> affected by the result.
> So what is the result here? The destination?
> And if the size is byte or word, are the flags then affected by the sign
> extended result?

The flags are always set according to the result of the operation. That also means no sign extension unless it's explicitly part of the executed instruction. In the case of a move instruction, the result is the value fetched from the source location.

Entire Thread
Subject  Posted byPosted On
*Another 68k question  erikduijs08/14/04 01:59 PM
.*yay, my 68k is coming to life! :-D  erikduijs09/03/04 04:30 PM
..Re: Another 68k question  Jan_Klaassen08/15/04 11:29 PM
.*Re: Another 68k question  Riff08/14/04 05:55 PM
..*Re: Another 68k question  erikduijs08/14/04 10:49 PM