sha0coder/libscemu

bsr broken

Closed this issue · 2 comments

{
    "i": 259,
    "x64dbgLine": {
      "rawLine": {
        "Index": "00103",
        "Address": "0000000144F94228",
        "Bytes": "6645:0FBDD6",
        "Disassembly": "bsr r10w,r14w",
        "Registers": "",
        "Memory": "",
        "Comments": ""
      },
      "rip": "144f94228",
      "registerChanges": [],
      "memoryChanges": []
    },
    "scemuLine": {
      "rawLine": "diff_reg: rip = 144f94228 r10 44f9be4e -> 44f90000;",
      "rip": "144f94228",
      "registerChanges": [
        {
          "registerName": "r10",
          "previousValue": "44f9be4e",
          "newValue": "44f90000"
        }
      ],
      "memoryChanges": []
    },
    "instructionErrors": [
      {
        "index": 0,
        "message": "unmatchedRegisterChange mismatch (scemu but not x64dbg)",
        "scemu": "r10"
      }
    ]
  }

it doesn't make any sense, it should modify the value regarding the manual.
https://www.felixcloutier.com/x86/bsr

fixed