I have to define the steps for each Little Man Computer instruction (ADD, SUB, BR, BRP etc.), and I'm having trouble with the branching instructions and COB (or the Halt instruction). I understand the fetch portion where each instruction begins with:
PC -> MAR
MDR -> IR
But I'm unsure of what to add in the execute portion to make the instruction actually correct. Could anyone explain how to make the fetch-execute cycles for BR, BRP, BRZ and COB? Any help would be greatly appreciated