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

WDM: Difference between revisions

From SnesLab
Jump to: navigation, search
(linkify signature byte)
(official 65c816 datasheet says WDM is implied admode)
Line 7: Line 7:
|'''Speed'''
|'''Speed'''
|+
|+
|
|[[Implied]] (type 3)
|42
|42
|2 byte
|2 byte
Line 14: Line 14:


{| class="wikitable" style="float:right;clear:right;width:30%"
{| class="wikitable" style="float:right;clear:right;width:30%"
!colspan="8"|Flags Clobbered
!colspan="8"|Flags Affected
|+
|+
|N
|N

Revision as of 20:42, 24 July 2023

Basic Info
Addressing Mode Opcode Length Speed
Implied (type 3) 42 2 byte 2 cycles
Flags Affected
N V M X D I Z C
. . . . . . . .

WDM (the initials of William David Mensch, the designer of the 65c816) is an instruction that reserves its signature byte for future expansion of the instruction set. None of these extra 256 opcodes were ever implemented, so WDM functions essentially as a two-byte NOP.

Trivia

The Labiak textbook does not describe the WDM instruction.

See Also

External Links