https://bugs.dolphin-emu.org/https://bugs.dolphin-emu.org/favicon.ico?12019-01-15T00:40:00ZDolphin bug trackerEmulator - Emulator Issues #11528: Debugger displays wrong bitmaskhttps://bugs.dolphin-emu.org/issues/11528?journal_id=7358182019-01-15T00:40:00Ztaolastaolas@gmail.com
<ul></ul><p>12345678 rl 16 -> 56781234 wimi 6, 15 -> 06780000 (678 = 3FF).</p>
<p>Therefore unscrambled: a mask 3FF is applied to 678 = 000003FF. It's correct, as it takes the rotation into account. You just did the mask. Using the rotation and mask is good because you can look at the original hex and immediately know what's being masked.</p>
Emulator - Emulator Issues #11528: Debugger displays wrong bitmaskhttps://bugs.dolphin-emu.org/issues/11528?journal_id=7358192019-01-15T00:52:09Znwplayer123
<ul><li><strong>File</strong> <a href="/attachments/7189">Screenshot_76.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/7189/Screenshot_76.png">Screenshot_76.png</a> added</li></ul><p>Should still be 0x03FF0000, upper halfword is 0x4022, lower halfword is 0x4024, that's how it gets this address, insert 10 bits at bit 6(to 15)<br>
<a href="https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/Core/HW/MemoryInterface.cpp#L115" class="external">https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/Core/HW/MemoryInterface.cpp#L115</a></p>
Emulator - Emulator Issues #11528: Debugger displays wrong bitmaskhttps://bugs.dolphin-emu.org/issues/11528?journal_id=7358202019-01-15T01:48:54Ztaolastaolas@gmail.com
<ul></ul><p>Insert what 10 bits? Isn't the helper consistently showing the what and not the where to?<br>
What would you expect rlwimi r6, r7, 20, 6, 15 to show, the same 0x03FF0000?</p>
<p>I could be wrong here, but it seems to be consistent with what it's showing.</p>
Emulator - Emulator Issues #11528: Debugger displays wrong bitmaskhttps://bugs.dolphin-emu.org/issues/11528?journal_id=7358212019-01-15T02:02:07Znwplayer123
<ul></ul><p>oh, yeah, I guess that's what I'm thinking of. I'm expecting the where to and not the what. insrwi is just the simplified opcode for that rlwimi, insert right word immediate. I'm expecting it to be 0x03FF0000 cuz it overwrites <em>those bits in r6</em> vs what it takes from r7.</p>