NOP
Name |
No Operation |
Function |
No operation performed |
Syntax |
NOP |
Assembled |
|
Binary |
0000 0000 |
Decimal |
0 |
Hexadecimal |
0x00 |
Symbolic |
Not Applicable |
Execution |
1 word, 8-bit code and an execution time of 10.8 \({\mu}\) sec |
Side-effects |
Not Applicable |
Implemented |
Description
No operation is performed. The program counter is incremented by one and execution continues with the next sequential instruction.
Example program
/ Example program
org ram
nop
end
The program does nothing, since the NOP operation is the only operator in the program.
Notes
The NOP instruction is useful for padding out memory positions for those operators that function differently at the page boundary, such that they do not end at a page boundary.