Apply fix for big endian hosts per #1710

This commit is contained in:
mio
2022-10-28 16:20:20 +02:00
parent 98980c904c
commit 4b961a8ef6
5 changed files with 11 additions and 11 deletions

View File

@@ -112,7 +112,7 @@ static void test_mips_lwx_exception_issue_1314(void)
reg = 0;
OK(uc_reg_write(uc, UC_MIPS_REG_1, &reg));
OK(uc_reg_write(uc, UC_MIPS_REG_T9, &reg));
reg = 0xdeadbeef;
reg = LEINT32(0xdeadbeef);
OK(uc_mem_write(uc, 0x10000, &reg, 4));
reg = 0x10000;
OK(uc_reg_write(uc, UC_MIPS_REG_S3, &reg));