Description:Set the carry flag if the Boolean value is a logical 1; leave the carry in its current state
otherwise. A slash (“/”) preceding the operand in the assembly language indicates that
the logical complement of the addressed bit is used as the source value, but the source
bit itself is not aff ected. No other flags are aff ected.
Example:Set the carry flag if and only if P1.0 = 1, ACC. 7 = 1, or OV = 0:
MOV C,P1.0 ; LOAD CARRY WITH INPUT PIN P10
ORL C,ACC.7 ; OR CARRY WITH THE ACC. BIT 7
ORL C, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.