# Form `M` — M — Mask (rlwinm/rlwimi/rlwnm) ## Bit Layout | Bits | Field | Meaning | | --- | --- | --- | | 0–5 | `OPCD` | primary opcode | | 6–10 | `RS` | source GPR | | 11–15 | `RA` | destination GPR | | 16–20 | `SH/RB` | shift amount or source B | | 21–25 | `MB` | mask begin | | 26–30 | `ME` | mask end | | 31 | `Rc` | record-form flag | ## Instructions Using This Form | Mnemonic | Opcode | Group | Description | | --- | --- | --- | --- | | [`rlwimix`](../alu/rlwimix.md) | `0x50000000` | integer | Rotate Left Word Immediate then Mask Insert | | [`rlwinmx`](../alu/rlwinmx.md) | `0x54000000` | integer | Rotate Left Word Immediate then AND with Mask | | [`rlwnmx`](../alu/rlwnmx.md) | `0x5c000000` | integer | Rotate Left Word then AND with Mask |