Emit this register as the `r/m` field of a ModR/M byte.
(&self, sink: &mut impl CodeSink, enc_reg: u8)
| 33 | |
| 34 | /// Emit this register as the `r/m` field of a ModR/M byte. |
| 35 | pub(crate) fn encode_modrm(&self, sink: &mut impl CodeSink, enc_reg: u8) { |
| 36 | sink.put1(encode_modrm(0b11, enc_reg & 0b111, self.enc() & 0b111)); |
| 37 | } |
| 38 | |
| 39 | /// Return the registers for encoding the `b` and `x` bits (e.g., in a VEX |
| 40 | /// prefix). |
nothing calls this directly
no test coverage detected