Instruction Set ArchitectureIP2022 Users Manual
182
www.ubicom.com
NOP
No Operation
Operation:
None
Bits affected:
None
Opcode:
0000 0000 0000 0000
Description:
This instruction does nothing except to cause a
one-cycle delay in program execution.
Cycles:
1
Example:
sb
0x05,4;set bit 4 in Port A
nop ;no operation, 1-cycle delay
sb
0x05,6;set bit 5 in Port A
This example shows how a nop instruction can
be used as a one-cycle delay between two
successive read-modify-write instructions that
modify the same I/O port. This delay ensures
reliable results at high clock rates.