Extracted a bunch of code into Engima.Assembler.Basics