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

SED: Difference between revisions

From SnesLab
Jump to: navigation, search
(added syntax)
(mention ADC/SBC)
Line 35: Line 35:
|}
|}


'''SED''' is a 65x instruction that sets the [[decimal mode flag]].
'''SED''' is a 65x instruction that sets the [[decimal mode flag]] so that [[ADC]] and [[SBC]] will operate on [[binary coded decimal]] data properly.


==== Syntax ====
==== Syntax ====

Revision as of 23:03, 6 July 2024

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

SED is a 65x instruction that sets the decimal mode flag so that ADC and SBC will operate on binary coded decimal data properly.

Syntax

SED

See Also

External Links