📄 sparcopcode.java
字号:
public static final int not = NOT;
/** not Rdest, Rsrc1 */
public static final SPARCInstruction not_instr(SPARCRegister d,
SPARCRegister s1) {
return new SPARCInstruction(not, d, s1, null);
}
/** sll Rsrc1, Src2, Rdest */
public static final int SLL = 40;
/** sll Rsrc1, Src2, Rdest */
public static final int sll = SLL;
/** sll Rsrc1, Src2, Rdest */
public static final SPARCInstruction sll_instr(SPARCRegister s1, SPARCOperand s2,SPARCRegister d) {
return new SPARCInstruction(sll, s1, s2, d);
}
/** srl Rsrc1, Src2, Rdest */
public static final int SRL = 41;
/** srl Rsrc1, Src2, Rdest */
public static final int srl = SRL;
/** srl Rsrc1, Src2, Rdest */
public static final SPARCInstruction srl_instr(SPARCRegister s1, SPARCOperand s2,SPARCRegister d) {
return new SPARCInstruction(srl, s1, s2, d);
}
/** sra Rsrc1, Src2, Rdest */
public static final int SRA = 42;
/** sra Rsrc1, Src2, Rdest */
public static final int sra = SRA;
/** sra Rsrc1, Src2, Rdest */
public static final SPARCInstruction sra_instr(SPARCRegister s1, SPARCOperand s2,SPARCRegister d) {
return new SPARCInstruction(sra, s1, s2, d);
}
/** sllx Rsrc1, Src2, Rdest */
public static final int SLLX = 43;
/** sllx Rsrc1, Src2, Rdest */
public static final int sllx = SLLX;
/** sllx Rsrc1, Src2, Rdest */
public static final SPARCInstruction sllx_instr(SPARCRegister s1, SPARCOperand s2,SPARCRegister d) {
return new SPARCInstruction(sllx, s1, s2, d);
}
/** srlx Rsrc1, Src2, Rdest */
public static final int SRLX = 44;
/** srlx Rsrc1, Src2, Rdest */
public static final int srlx = SRLX;
/** srlx Rsrc1, Src2, Rdest */
public static final SPARCInstruction srlx_instr(SPARCRegister s1, SPARCOperand s2,SPARCRegister d) {
return new SPARCInstruction(srlx, s1, s2, d);
}
/** srax Rsrc1, Src2, Rdest */
public static final int SRAX = 45;
/** srax Rsrc1, Src2, Rdest */
public static final int srax = SRAX;
/** srax Rsrc1, Src2, Rdest */
public static final SPARCInstruction srax_instr(SPARCRegister s1, SPARCOperand s2,SPARCRegister d) {
return new SPARCInstruction(srax, s1, s2, d);
}
public static final int SDIV = 62;
/** srax Rsrc1, Src2, Rdest */
public static final int sdiv = SDIV;
/** srax Rsrc1, Src2, Rdest */
public static final SPARCInstruction sdiv_instr(SPARCRegister s1, SPARCOperand s2,SPARCRegister d) {
return new SPARCInstruction(sdiv, s1, s2, d);
}
public static final int SMUL = 63;
/** srax Rsrc1, Src2, Rdest */
public static final int smul = SMUL;
/** srax Rsrc1, Src2, Rdest */
public static final SPARCInstruction smul_instr(SPARCRegister s1, SPARCOperand s2,SPARCRegister d) {
return new SPARCInstruction(smul, s1, s2, d);
}
/* branch on integer condition codes: 64 - 79 */
/** b label (use dest operand for label) */
public static final int B = 64;
/** b label (use dest operand for label) */
public static final int b = B;
/** b label (use dest operand for label) */
public static final SPARCInstruction b_instr(String s)
{
return new SPARCInstruction(b, null, null, new SPARCAddress(s));
}
/** beq (use dest operand for label) */
public static final int BA = 65;
/** beq (use dest operand for label) */
public static final int ba = BA;
/** beq (use dest operand for label) */
public static final SPARCInstruction ba_instr(String s) {
return new SPARCInstruction(ba,null, null, new SPARCAddress(s));
}
/** bn (use dest operand for label) */
public static final int BN = 66;
/** bn (use dest operand for label) */
public static final int bn = BN;
/** bn (use dest operand for label) */
public static final SPARCInstruction bn_instr(String s) {
return new SPARCInstruction(bn,null, null, new SPARCAddress(s));
}
/** bne (use dest operand for label) */
public static final int BNE = 67;
/** bne (use dest operand for label) */
public static final int bne = BNE;
/** bne (use dest operand for label) */
public static final SPARCInstruction bne_instr(String s) {
return new SPARCInstruction(bne,null, null, new SPARCAddress(s));
}
/** be (use dest operand for label) */
public static final int BE = 68;
/** be (use dest operand for label) */
public static final int be = BE;
/** be (use dest operand for label) */
public static final SPARCInstruction be_instr(String s) {
return new SPARCInstruction(be,null, null, new SPARCAddress(s));
}
/** bg (use dest operand for label) */
public static final int BG = 69;
/** bg (use dest operand for label) */
public static final int bg = BG;
/** bg (use dest operand for label) */
public static final SPARCInstruction bg_instr(String s) {
return new SPARCInstruction(bg,null, null, new SPARCAddress(s));
}
/** ble (use dest operand for label) */
public static final int BLE = 70;
/** ble (use dest operand for label) */
public static final int ble = BLE;
/** ble (use dest operand for label) */
public static final SPARCInstruction ble_instr(String s) {
return new SPARCInstruction(ble,null, null, new SPARCAddress(s));
}
/** bge (use dest operand for label) */
public static final int BGE = 71;
/** bge (use dest operand for label) */
public static final int bge = BGE;
/** bge (use dest operand for label) */
public static final SPARCInstruction bge_instr(String s) {
return new SPARCInstruction(bge,null, null, new SPARCAddress(s));
}
/** bl (use dest operand for label) */
public static final int BL = 72;
/** bl (use dest operand for label) */
public static final int bl = BL;
/** blt (use dest operand for label) */
public static final SPARCInstruction bl_instr(String s) {
return new SPARCInstruction(bl,null, null, new SPARCAddress(s));
}
/** bgu (use dest operand for label) */
public static final int BGU = 73;
/** bgu (use dest operand for label) */
public static final int bgu = BGU;
/** bgu (use dest operand for label) */
public static final SPARCInstruction bgu_instr(String s) {
return new SPARCInstruction(bgu,null, null, new SPARCAddress(s));
}
/** bleu (use dest operand for label) */
public static final int BLEU = 74;
/** bleu (use dest operand for label) */
public static final int bleu = BLEU;
/** bleu (use dest operand for label) */
public static final SPARCInstruction bleu_instr(String s) {
return new SPARCInstruction(bleu,null, null, new SPARCAddress(s));
}
/** bgeu (use dest operand for label) */
public static final int BGEU = 75;
/** bgeu (use dest operand for label) */
public static final int bgeu = BGEU;
/** bgeu (use dest operand for label) */
public static final SPARCInstruction bgeu_instr(String s) {
return new SPARCInstruction(bgeu,null, null, new SPARCAddress(s));
}
/** bltu (use dest operand for label) */
public static final int BLU = 76;
/** bltu (use dest operand for label) */
public static final int blu = BLU;
/** bltu (use dest operand for label) */
public static final SPARCInstruction blu_instr(String s) {
return new SPARCInstruction(blu,null, null, new SPARCAddress(s));
}
/** bpos (use dest operand for label) */
public static final int BPOS = 77;
/** bpos (use dest operand for label) */
public static final int bpos = BPOS;
/** bpos (use dest operand for label) */
public static final SPARCInstruction bpos_instr(String s) {
return new SPARCInstruction(bpos,null, null, new SPARCAddress(s));
}
/** bneg (use dest operand for label) */
public static final int BNEG = 78;
/** bneg (use dest operand for label) */
public static final int bneg = BNEG;
/** bneg (use dest operand for label) */
public static final SPARCInstruction bneg_instr(String s) {
return new SPARCInstruction(bneg, null,null, new SPARCAddress(s));
}
/** bvc (use dest operand for label) */
public static final int BVC = 79;
/** bvc (use dest operand for label) */
public static final int bvc = BVC;
/** bvc (use dest operand for label) */
public static final SPARCInstruction bvc_instr(String s) {
return new SPARCInstruction(bvc,null,null,new SPARCAddress(s));
}
/** bvs (use dest operand for label) */
public static final int BVS = 80;
/** bvs (use dest operand for label) */
public static final int bvs = BVS;
/** bvs (use dest operand for label) */
public static final SPARCInstruction bvs_instr(String s) {
return new SPARCInstruction(bvs,null, null, new SPARCAddress(s));
}
/* misc operations: 88 - 95 */
/** call func_name */
public static final int CALL = 88;
/** call func_name */
public static final int call = CALL;
/** call func_name */
public static final SPARCInstruction call_instr(String s) {
return new SPARCInstruction(call,null,null, new SPARCAddress(s));
}
public static final SPARCInstruction call_instr(String s, String c) {
return new SPARCInstruction(call,null, null,new SPARCAddress(s), c);
}
/** save Rsrc1, Src2, Rdest */
public static final int SAVE = 89;
/** save Rsrc1, Src2, Rdest */
public static final int save = SAVE;
/** save Rsrc1, Src2, Rdest */
public static final SPARCInstruction save_instr(SPARCRegister s1, int i, SPARCRegister s2) {
return new SPARCInstruction(save,s1,new SPARCImmed(i),s2);
}
public static final SPARCInstruction save_instr(SPARCRegister s1, SPARCRegister s2, SPARCRegister s3) {
return new SPARCInstruction(save,s1,s2,s3);
}
public static final SPARCInstruction save_instr(SPARCRegister s1, int i,SPARCRegister s2, String c) {
return new SPARCInstruction(save,s1,new SPARCImmed(i),s2,c);
}
/** restore Rsrc1, Src2, Rdest */
public static final int RESTORE = 90;
/** restore Rsrc1, Src2, Rdest */
public static final int restore = RESTORE;
/** restore Rsrc1, Src2, Rdest */
public static final SPARCInstruction restore_instr() {
return new SPARCInstruction(restore,null,null,null);
}
public static final SPARCInstruction restore_instr(String c) {
return new SPARCInstruction(restore,null,null,null,c);
}
/** ret */
public static final int RET = 91;
/** ret */
public static final int ret = RET;
/** ret */
public static final SPARCInstruction ret_instr() {
return new SPARCInstruction(ret,null,null,null);
}
public static final SPARCInstruction ret_instr(String c) {
return new SPARCInstruction(ret,null,null,null,c);
}
/** cmp Rsrc1, Src2 */
public static final int CMP = 92;
/** cmp Rsrc1, Src2 */
public static final int cmp = CMP;
/** cmp Rsrc1, Src2 */
public static final SPARCInstruction cmp_instr(SPARCRegister s1, SPARCOperand s2) {
return new SPARCInstruction(cmp,s2,null,s1);
}
public static final SPARCInstruction cmp_instr(SPARCRegister s1, SPARCOperand s2, String c) {
return new SPARCInstruction(cmp,s2,null,s1,c);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -