Added version check in the CPU module.
Set flag information on certain opcodes.