107. SEH – Set Half Carry Flag
107.1. Description
Sets the Half Carry (H) in SREG (Status Register).
Operation:
(i) H ← 1
Syntax: Operands: Program Counter:
(i) SEH None PC ← PC + 1
16-bit Opcode:
1001 0100 0101 1000
107.2. Status Register (SREG) and Boolean Formula
I T H S V N Z C
– – 1 – – – – –
H 1
Half Carry Flag set.
Example:
seh ; Set Half Carry Flag
Words 1 (2 bytes)
Cycles 1
Atmel AVR Instruction Set Manual [OTHER]
Atmel-0856L-AVR-Instruction-Set-Manual_Other-11/2016
160