<div dir="ltr"><div><div><div><div><div>hi,<br><br></div>i am struggling to understand how MRMDestReg is used in X86.<br><br></div>in X86InstrFormat.td, we have this:<br><br><br>class Format<bits<7> val> {<br> bits<7> Value = val; <br>
}<br>def MRMDestReg : Format<3><br><br><br></div>i think eventually, MRMDestReg is mapped back to ModMRM byte. but this still doesnt make sense to me why MRMDestReg is defined this way, and how it is mapped back to ModRM byte.<br>
<br></div>any hint please?<br><br></div>thanks!<br></div>