Actions

User

FraGag/MOVE

From Sonic Retro

< User:FraGag
Revision as of 00:26, 11 January 2008 by FraGag (talk | contribs) (New page: '''MOVE''': Move Data from Source to Destination == Operation == Source → Destination == Assembler Syntax == MOVE[.{bwl}] ''source'', ''destination'' * b: byte-sized operation (8 bits...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MOVE: Move Data from Source to Destination

Operation

Source → Destination

Assembler Syntax

MOVE[.{bwl}] source, destination

  • b: byte-sized operation (8 bits are moved)
  • w: word-sized operation (16 bits are moved)
  • l: long-sized operation (32 bits are moved)

Description

Moves the data at the source to the destination location and sets the condition codes according to the data. The size of the operation may be specified as byte, word, or long.

Condition Codes

  • X: Not affected.
  • N: Set if the result is negative; cleared otherwise.
  • Z: Set if the result is zero; cleared otherwise.
  • V: Always cleared.
  • C: Always cleared.