Lukasvg / Thumb399

ECE399 VHDL Repository
1 stars 0 forks source link

Conditional Branch #8

Open Lukasvg opened 9 years ago

Lukasvg commented 9 years ago

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.

Lukasvg commented 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.