I've wrote following code:
ldi r17, 1 << OCIE1A | 1 << OCIE0A ;got 0x41 in r17 out TIMSK, r17 ;got 0x21 !!! in TIMSK in r17, TIMSK ; again 0x41 in r17
Value 0x21 I view in debugger, and timer1 behaves like there is actualy 0x21 in TIMSK register.
In Studio 4 with simulator 1 I've got 0x41 in TIMSK register, but with simulator 2 it behaves like in studio 5.
Is it a bug in simulator or there is mistake in my code?