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: Difference between revisions

From SnesLab
Jump to: navigation, search
(added flag clobber table)
(→‎External Links: second E&L page)
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''NOP''' (No operation) is an instruction that does nothing.
{| class="wikitable" style="float:right;clear:right;width:40%"
!colspan="8"|Basic Info
|+
|'''Addressing Mode'''
|'''Opcode'''
|'''Length'''
|'''Speed'''
|+
|[[Implied]] (type 3)
|EA
|1 byte
|2 cycles
|}


{| 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
|[[Negative Flag|N]]
|V
|[[Overflow Flag|V]]
|M
|[[M Flag|M]]
|X
|[[X Flag|X]]
|D
|[[Decimal Flag|D]]
|I
|[[I Flag|I]]
|Z
|[[Zero Flag|Z]]
|C
|[[Carry Flag|C]]
|+
|+
|.
|.
Line 22: Line 34:
|.
|.
|}
|}
'''NOP''' (No OPeration) is an instruction that does nothing.
=== See Also ===
* [[WDM]]
* [[NOP (SPC700)]]
* [[NOP (Super FX)]]
=== External Links ===
* [[Eyes & Lichty]] page 470, on NOP: https://archive.org/details/0893037893ProgrammingThe65816/page/n496
* lbid. https://archive.org/details/0893037893ProgrammingThe65816/page/n289
* [[Labiak]] page 155 on NOP: https://archive.org/details/Programming_the_65816/page/n165
* [[Carr]] page 265 on NOP: https://archive.org/details/6502UsersManual/page/n278
* [[Leventhal]] page 3-78 on NOP: https://archive.org/details/6502-assembly-language-programming/page/n127
* snes9x implementation of NOP: https://github.com/snes9xgit/snes9x/blob/master/cpuops.cpp#L1606
* undisbeliever on NOP: https://undisbeliever.net/snesdev/65816-opcodes.html#nop-no-operation


[[Category: ASM]]
[[Category: ASM]]
[[Category:Inherited from 6502]]
[[Category:One-byte Instructions]]
[[Category:Control Instructions]]
[[Category:Implied Instructions]]
[[Category:Two-cycle Instructions]]

Latest revision as of 08:56, 15 December 2023