diff options
Diffstat (limited to 'src/arch/mips/isa/formats/branch.isa')
-rw-r--r-- | src/arch/mips/isa/formats/branch.isa | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/mips/isa/formats/branch.isa b/src/arch/mips/isa/formats/branch.isa index e959e4c1b..e786b3d9f 100644 --- a/src/arch/mips/isa/formats/branch.isa +++ b/src/arch/mips/isa/formats/branch.isa @@ -196,7 +196,7 @@ output decoder {{ ccprintf(ss, "%-10s ", mnemonic); - if ( mnemonic == "jal" ) { + if (strcmp(mnemonic, "jal") == 0) { Addr npc = pc + 4; ccprintf(ss,"0x%x",(npc & 0xF0000000) | disp); } else if (_numSrcRegs == 0) { |