On Sat, 12 Nov 2011 18:31:21 +0100 francesco.gringoli at ing.unibs.it wrote: > orxh (r1 << 8) & 0x0100, r2 & ~0x0100, r2 This is not really going to fly. If you want this highlevel stuff, you should port a C compiler to the architecture. This is assembly. It doesn't know about reg<<imm or similar stuff. -- Greetings, Michael.