Search found 1 match

by pompey
Sat Mar 26, 2011 8:25 pm
Forum: Oberon Language
Topic: Shifts and masks
Replies: 3
Views: 30232

Re: Shifts and masks

I'm sure its obvious to everyone else - but just in case:

I think

Code: Select all

R := LSR(LSL(value, 16));
Should be

Code: Select all

R := LSR(LSL(value, 16), 22);