Skip to content
Snippets Groups Projects
Commit 8658c5c2 authored by KimDongHwan's avatar KimDongHwan
Browse files

Update run.c

parent baef20f4
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,7 @@ ID_EX id_stage() {
case 0x3: //(0x000011)JAL
next_latch.ALUOp = 9;
CURRENT_STATE.REGS[31] = next_latch.NPC + 4; // TODO: 이거 여기서하는지 EX에서 하는지
CURRENT_STATE.REGS[31] = next_latch.NPC + 4;
CURRENT_STATE.PC = ((next_latch.NPC & 0xf0000000) | (next_latch.IMM << 2));
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment