buf, intermediate value whould be 32 bits long

This commit is contained in:
mariusmonton 2018-11-08 18:55:47 +01:00
parent 9d7d84c7f8
commit 36646a182e
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ void Execute::AUIPC(Instruction &inst) {
} }
void Execute::JAL(Instruction &inst, bool c_extension, int m_rd) { void Execute::JAL(Instruction &inst, bool c_extension, int m_rd) {
int16_t mem_addr = 0; int32_t mem_addr = 0;
int rd; int rd;
int new_pc, old_pc; int new_pc, old_pc;