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

NOP (Super FX): Difference between revisions

From SnesLab
Jump to: navigation, search
(linkify S)
(The ALT0 state is restored.)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable" style="float:right;clear:right;width:40%"
{| class="wikitable" style="float:right;clear:right;width:50%"
!colspan="8"|Basic Info
!colspan="8"|Basic Info
|+
|+
|'''Addressing Mode'''
|'''Opcode'''
|'''Opcode'''
|'''Length'''
|'''Length'''
Line 8: Line 9:
|'''Cache Speed'''
|'''Cache Speed'''
|+
|+
|[[Implied]] (type 3)
|01
|01
|1 byte
|1 byte
Line 18: Line 20:
!colspan="9"|Flags Affected
!colspan="9"|Flags Affected
|+
|+
|B
|[[B Flag|B]]
|[[ALT1]]
|[[ALT1]]
|[[ALT2]]
|[[ALT2]]
Line 24: Line 26:
|[[Sign Flag|S]]
|[[Sign Flag|S]]
|[[CY]]
|[[CY]]
|Z
|[[Zero Flag|Z]]
|+
|+
|0
|0
Line 35: Line 37:
|}
|}


'''NOP''' (No Operation) is a [[Super FX]] instruction that does almost nothing, other than clear some flags.
'''NOP''' (No Operation) is a [[Super FX]] instruction that does almost nothing, other than clear some flags and increment the program counter by one.
 
The [[ALT0]] state is restored.
 
==== Syntax ====
<pre>
NOP
</pre>


=== See Also ===
=== See Also ===
Line 43: Line 52:


=== External Links ===
=== External Links ===
* Official Nintendo documentation on NOP: [https://archive.org/details/SNESDevManual/book2/page/n251 Page 2-9-95 of Book II]
* Official Nintendo documentation on NOP: 9.68 on [https://archive.org/details/SNESDevManual/book2/page/n251 Page 2-9-95 of Book II]


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

Latest revision as of 00:18, 13 July 2024

Basic Info
Addressing Mode Opcode Length ROM Speed RAM Speed Cache Speed
Implied (type 3) 01 1 byte 3 cycles 3 cycles 1 cycle
Flags Affected
B ALT1 ALT2 O/V S CY Z
0 0 0 . . . .

NOP (No Operation) is a Super FX instruction that does almost nothing, other than clear some flags and increment the program counter by one.

The ALT0 state is restored.

Syntax

NOP

See Also

External Links