From 4154f8e31896c90cba67ac5044425df7f8fed821 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 31 Jan 2019 00:02:00 +0100 Subject: Correct processing of ORI, ANDI, XORI instructions which require zero-extended immediate. Signed-off-by: Pavel Pisa --- qtmips_machine/core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qtmips_machine/core.h') diff --git a/qtmips_machine/core.h b/qtmips_machine/core.h index 386b486..0c9a1b1 100644 --- a/qtmips_machine/core.h +++ b/qtmips_machine/core.h @@ -89,6 +89,7 @@ protected: enum MemoryAccess::AccessControl memctl; // Decoded memory access type std::uint32_t val_rs; // Value from register rs std::uint32_t val_rt; // Value from register rt + std::uint32_t immediate_val; // zero or sign-extended immediate value ForwardFrom ff_rs; ForwardFrom ff_rt; }; -- cgit v1.2.3