Open Lukasvg opened 9 years ago
Conditional branch
B 1 1 0 1 cond Imm8 PC += (signed) #Imm8<<1 Implement the conditional branch Use the unconditional branch as the base of the implementation Look up the meaning of the condition codes in the architecture reference manual The V flag does not yet have to be implemented.
Implement the conditional branch instruction. Please note that this depends on the flags. Only implement those condition codes which are affected by the C, Z and N flag. Ignore the V flag for now.