Optimize U and O instructions

Signed-off-by: Michael Buesch <m@bues.ch>
Optimize assignment operator

Signed-off-by: Michael Buesch <m@bues.ch>
Optimize T instruction

Signed-off-by: Michael Buesch <m@bues.ch>
GenericInteger: Add copyFrom method

Signed-off-by: Michael Buesch <m@bues.ch>
GenericInteger: Add int cast for mask

Signed-off-by: Michael Buesch <m@bues.ch>
Optimize S and R instructions

Signed-off-by: Michael Buesch <m@bues.ch>
Fix hardware module in/out storing/fetching

Signed-off-by: Michael Buesch <m@bues.ch>