|
> 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.
|