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

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