Intel 8XC251SA User Manual page 355

Embedded microcontroller
Hide thumbs Also See for 8XC251SA:
Table of Contents

Advertisement

NOP
Function:
No operation
Description:
Execution continues at the following instruction. Affects the PC register only.
Flags:
CY
Example:
You want to produce a low-going output pulse on bit 7 of Port 2 that lasts exactly 11 states. A
simple CLR-SETB sequence generates an eight-state pulse. (Each instruction requires four
states to write to a port SFR.) You can insert three additional states (if no interrupts are
enabled) with the following instruction sequence:
CLR P2.7
NOP
NOP
NOP
SETB P2.7
Binary Mode
Bytes:
States:
[Encoding]
0 0 0 0
Hex Code in:
Binary Mode = [Encoding]
Source Mode = [Encoding]
Operation:
NOP
(PC) ← (PC) + 1
ORL <dest> <src>
Function:
Logical-OR for byte variables
Description:
Performs the bitwise logical-OR operation (V) between the specified variables, storing the
results in the destination operand.
The destination operand can be a register, an accumulator or direct address.
The two operands allow twelve addressing mode combinations. When the destination is the
accumulator, the source can be register, direct, register-indirect, or immediate addressing;
when the destination is a direct address, the source can be the accumulator or immediate
data. When the destination is register the source can be register, immediate, direct and
indirect addressing.
Note: When this instruction is used to modify an output port, the value used as the original
port data is read from the output data latch, not the input pins.
Flags:
CY
AC
Source Mode
1
1
1
1
0 0 0 0
AC
INSTRUCTION SET REFERENCE
OV
N
OV
N
Z
Z
A-103

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc251sb8xc251sp8xc251sq

Table of Contents