Implement proper initialization and reading of opcodes (the correct endian-ness helps...)