Updated import statement.
Instruction decoder brings the next instruction & its operands.
The flags register gets updated after the instruction is executed.
Instruction decoding logic has been moved to the InstructionDecoder.
Added instruction_regexp class attribute.
Every instruction now holds a copy of the flags register (which is returned after the instruction is executed).
The InstructionDecoder now filters the next instruction class to be executed. The operands for the instruction are fetched as well. Later on the instruction is created and returned to the cpu for execution.
Changed _opcode_to_int's signature.
Added _decode_instruction method.
Minor & irrelevant changes.
Updated all 8 & 16 bit instructions to hold the instruction_regexp class attribute.
Updated all tests to now work with the new InstructionDecoder implementation.
Added .gitignore.