Skip to content

Commit 79d71ae

Browse files
fix mips test: the test case wasn't updated
1 parent a23239f commit 79d71ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plasma/lib/arch/mips/output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def _sub_asm_inst(self, i, tab=0):
268268
self._operand(i, 0)
269269
self._add(" = ")
270270
if str(i.operands[1].value.reg).isdigit:
271-
self._add(" 0x%x" % (i.operands[1].value.reg << 16))
271+
self._add("0x%x" % (i.operands[1].value.reg << 16))
272272
else:
273273
self._operand(i, 1)
274274
self._add(" << 16")

tests/analyzer/mips_prefetch.rev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
raw 0x400000 -> 0x400013
33

44
_start:
5-
0x400000: $v0 = 64 << 16
5+
0x400000: $v0 = 0x400000
66
0x400004: b loc_40000c
77

88
loc_400008:

0 commit comments

Comments
 (0)