asm.emitMOV_RegIdx_Reg (S0, T0, asm.BYTE, NO_SLOT, JTOC); asm.emitMOV_RegIdx_Reg (S0, T0, asm.BYTE, ONE_SLOT, T1);
asm.emitMOV_RegIdx_Reg (S0, T0, VM_Assembler.BYTE, NO_SLOT, JTOC); asm.emitMOV_RegIdx_Reg (S0, T0, VM_Assembler.BYTE, ONE_SLOT, T1);
  protected final void emit_unresolved_putfield(VM_FieldReference fieldRef) {    emitDynamicLinkingSequence(T0, fieldRef, true);    if (MM_Interface.NEEDS_WRITE_BARRIER && !fieldRef.getFieldContentsType().isPrimitiveType()) {      VM_Barriers.compilePutfieldBarrier(asm, T0, fieldRef.getId());      emitDynamicLinkingSequence(T0, fieldRef, false);      asm.emitADD_Reg_Imm(SP, WORDSIZE*2);              // complete popping the value and reference    } else {      if (fieldRef.getSize() == BYTES_IN_INT) {// field is one word        asm.emitMOV_Reg_RegDisp(T1, SP, NO_SLOT);               // T1 is the value to be stored        asm.emitMOV_Reg_RegDisp(S0, SP, ONE_SLOT);               // S0 is the object reference        asm.emitMOV_RegIdx_Reg (S0, T0, asm.BYTE, NO_SLOT, T1); // [S0+T0] <- T1        asm.emitADD_Reg_Imm(SP, WORDSIZE*2);              // complete popping the value and reference      } else { // field is two words (double or long)        if (VM.VerifyAssertions) VM._assert(fieldRef.getSize() == BYTES_IN_LONG);        asm.emitMOV_Reg_RegDisp(JTOC, SP, NO_SLOT);                          // JTOC is low part of the value to be stored        asm.emitMOV_Reg_RegDisp(T1, SP, ONE_SLOT);                            // T1 is high part of the value to be stored        asm.emitMOV_Reg_RegDisp(S0, SP, TWO_SLOTS);                            // S0 is the object reference        asm.emitMOV_RegIdx_Reg (S0, T0, asm.BYTE, NO_SLOT, JTOC);            // [S0+T0] <- JTOC        asm.emitMOV_RegIdx_Reg (S0, T0, asm.BYTE, ONE_SLOT, T1);       // [S0+T0+4] <- T1        asm.emitADD_Reg_Imm(SP, WORDSIZE*3);                           // complete popping the values and reference        // restore JTOC        VM_ProcessorLocalState.emitMoveFieldToReg(asm, JTOC, VM_Entrypoints.jtocField.getOffset());      }    }  }