uart: swap status with config half word
[calu.git] / 3a_asm / tst / sth.s
1 ldi r0, 0x04;
2 ldi r2, 0x10;
3 ldi r1, 0x1122;
4 ldih r1, 0x4433;
5 sth r1, 0(r0);
6 lrs r1, r1, 8;
7 sth r1, 1(r0);
8 lrs r1, r1, 8;
9 sth r1, 2(r2);
10 lrs r1, r1, 8;
11 sth r1, 3(r2);