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
(→‎External Links: hid archive URL for Leventhal)
(needing REP/SEP)
 
(One intermediate revision by the same user not shown)
Line 35: Line 35:
|}
|}


'''NOP''' (No OPeration) is an instruction that does nothing (other than increment the [[program counter]]).
'''NOP''' (No OPeration) is an instruction that does nothing (other than increment the [[program counter]] by one).


No flags are affected.
No flags are affected.
Line 43: Line 43:
NOP
NOP
</pre>
</pre>
Early 65c816 chips commonly needed NOP after a [[REP]] or [[SEP]].


=== See Also ===
=== See Also ===
Line 62: Line 64:
* Pickens, John. http://www.6502.org/tutorials/6502opcodes.html#NOP
* Pickens, John. http://www.6502.org/tutorials/6502opcodes.html#NOP


[[Category: ASM]]
[[Category:ASM]]
[[Category:Inherited from 6502]]
[[Category:Inherited from 6502]]
[[Category:One-byte Instructions]]
[[Category:One-byte Instructions]]

Latest revision as of 03:56, 19 August 2024

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

NOP (No OPeration) is an instruction that does nothing (other than increment the program counter by one).

No flags are affected.

Syntax

NOP

Early 65c816 chips commonly needed NOP after a REP or SEP.

See Also

External Links