- It fixes what Encoding and Decoding logic handle CallGCregs differently.
encodeMask |= 0x08;
if ((regmask & RBM_S5) != RBM_NONE)
encodeMask |= 0x10;
+ if ((regmask & RBM_S6) != RBM_NONE)
+ encodeMask |= 0x20;
id->idReg1((regNumber)encodeMask); // Save in idReg1
encodeMask = 0;
- if ((regmask & RBM_S6) != RBM_NONE)
- encodeMask |= 0x01;
if ((regmask & RBM_S7) != RBM_NONE)
- encodeMask |= 0x02;
+ encodeMask |= 0x01;
if ((regmask & RBM_S8) != RBM_NONE)
- encodeMask |= 0x04;
+ encodeMask |= 0x02;
if ((regmask & RBM_S9) != RBM_NONE)
- encodeMask |= 0x08;
+ encodeMask |= 0x04;
if ((regmask & RBM_S10) != RBM_NONE)
- encodeMask |= 0x10;
+ encodeMask |= 0x08;
if ((regmask & RBM_S11) != RBM_NONE)
- encodeMask |= 0x20;
+ encodeMask |= 0x10;
id->idReg2((regNumber)encodeMask); // Save in idReg2