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

Direct Page Immediate: Difference between revisions

From SnesLab
Jump to: navigation, search
(spc700 versions of mnemonics)
(added ref)
Line 13: Line 13:
* [[CMP (SPC700)]] (opcode 78h)
* [[CMP (SPC700)]] (opcode 78h)
* [[MOV]] (opcode 8Fh)
* [[MOV]] (opcode 8Fh)
=== Reference ===
* Figure 3-8-3 on [https://archive.org/details/SNESDevManual/book1/page/n187 page 3-8-9 of Book I] of the official Super Nintendo development manual


[[Category:ASM]]
[[Category:ASM]]

Revision as of 20:26, 12 July 2024

Some SPC700 opcodes use both Direct Page and Immediate addressing.

As it appears in assembler source, the left operand is an index into the direct page, and the right operand is an immediate value.

The following opcodes support direct page immediate addressing:

Reference