Hi,

auf S. 7 im Datenblatt steht: "For I/O registers located in extended I/O map, "IN", "OUT", "SBIS", "SBIC", "CBI", and "SBI" instructions must be replaced with instructions that allow access to extended I/O. Typically "LDS" and "STS" combined with "SBRS", "SBRC", "SBR", and "CBR"."

Was genau unter "extended I/O" fällt, findest Du auf S.9.

Also: TIMSK0 kannst Du nur mit "STS", nicht mit "OUT" ansprechen.

Viele Grüße

Fred