HACKABLE SECURITY MODULES
RECON-BRX-2017-reversinghsms2
RECON-BRX-2017-reversinghsms2
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
HOW DO WE DEFINE<br />
REGISTERS?<br />
Simple, we define a register class and then<br />
instances for all registers!<br />
class TMS320C64xReg : Register {<br />
let HWEncoding{15-5} = 0;<br />
let HWEncoding{4-0} = num;<br />
field bit File = file;<br />
field bits Condition = condition;<br />
let Namespace = "TMS320C64x";<br />
}<br />
def A0 : TMS320C64xReg, DwarfRegNum;<br />
...<br />
def B31 : TMS320C64xReg, DwarfRegNum;