EasyManua.ls Logo

Atmel AVR

Atmel AVR
191 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
39. CLC – Clear Carry Flag
39.1. Description
Clears the Carry Flag (C) in SREG (Status Register).
Operation:
(i) C ← 0
Syntax: Operands: Program Counter:
(i) CLC None PC ← PC + 1
16-bit Opcode:
1001 0100 1000 1000
39.2. Status Register (SREG) and Boolean Formula
I T H S V N Z C
0
C 0
Carry Flag cleared.
Example:
add r0,r0 ; Add r0 to itself
clc ; Clear Carry Flag
Words 1 (2 bytes)
Cycles 1
Atmel AVR Instruction Set Manual [OTHER]
Atmel-0856L-AVR-Instruction-Set-Manual_Other-11/2016
67

Table of Contents

Related product manuals