Example #1
0
 public CrapsInstrLd(String codeop, AddrContent addr_content, String rd) {
   this.codeop = codeop;
   this.addr_content = addr_content;
   if (addr_content.rs1 == null) addr_content.rs1 = "%r0";
   if (addr_content.rs2_or_disp == null) addr_content.rs2_or_disp = "%r0";
   this.rd = rd;
 }
Example #2
0
 public void setAddrContent(AddrContent addr_content) {
   this.addr_content = addr_content;
   if (addr_content.rs1 == null) addr_content.rs1 = "%r0";
   if (addr_content.rs2_or_disp == null) addr_content.rs2_or_disp = "%r0";
 }