40. CLH – Clear Half Carry Flag
40.1. Description
Clears the Half Carry Flag (H) in SREG (Status Register).
Operation:
(i) H ← 0
Syntax: Operands: Program Counter:
(i) CLH None PC ← PC + 1
16-bit Opcode:
1001 0100 1101 1000
40.2. Status Register (SREG) and Boolean Formula
I T H S V N Z C
– – 0 – – – – –
H 0
Half Carry Flag cleared.
Example:
clh ; Clear the Half Carry Flag
Words 1 (2 bytes)
Cycles 1
Atmel AVR Instruction Set Manual [OTHER]
Atmel-0856L-AVR-Instruction-Set-Manual_Other-11/2016
68