© 2000 Scenix Semiconductor, Inc. All rights reserved.
105
SX Users Manual Rev. 3.1
www.scenix.com
Chapter 3 Instruction Set
3.6.35 NOP
No Operation
Operation:
none
Bits affected:
none
Opcode:
0000 0000 0000
Description:
This instruction does nothing except to cause a one-cycle delay in program execu-
tion.
Cycles:
1
Example:
sb
$05.4
;set bit 4 in Port A
nop
;no operation, 1-cycle delay
sb
$05.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.