*ReferenceRegister now writes a value as little endian
*unittest for referenceregister
*Disabled parser unittest since it is broken
*Added stack pointer
*Small refactoring in instructionswrapper class