We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

MOVW (SPC700): Difference between revisions

From SnesLab
Jump to: navigation, search
(created page)
(added tables)
Line 1: Line 1:
'''MOVW''' is an [[SPC700]] instruction that moves a value to or from [[YA]].
'''MOVW''' is an [[SPC700]] instruction that moves a value to or from [[YA]].
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="8"|Basic Info (to YA)
|+
|'''Addressing Mode'''
|'''Opcode'''
|'''Length'''
|'''Speed'''
|+
|
|BA
|2 bytes
|5 cycles
|}
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="8"|Flags Clobbered (to YA)
|+
|N
|V
|P
|B
|H
|I
|Z
|C
|+
|
|.
|.
|.
|.
|.
|
|
|}
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="8"|Basic Info (from YA)
|+
|'''Addressing Mode'''
|'''Opcode'''
|'''Length'''
|'''Speed'''
|+
|
|DA
|2 bytes
|4 cycles
|}
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="8"|Flags Clobbered (from YA)
|+
|N
|V
|P
|B
|H
|I
|Z
|C
|+
|.
|.
|.
|.
|.
|.
|.
|.
|}


=== See Also ===
=== See Also ===

Revision as of 15:51, 7 May 2023

MOVW is an SPC700 instruction that moves a value to or from YA.

Basic Info (to YA)
Addressing Mode Opcode Length Speed
BA 2 bytes 5 cycles
Flags Clobbered (to YA)
N V P B H I Z C
. . . . .
Basic Info (from YA)
Addressing Mode Opcode Length Speed
DA 2 bytes 4 cycles
Flags Clobbered (from YA)
N V P B H I Z C
. . . . . . . .

See Also