Exemple #1
0
 public static CodeBuilder Dec_(this CodeBuilder builder, Register reg)
 {
     return(builder.Addi(reg, reg, -1));
 }
Exemple #2
0
 public static CodeBuilder Mov_(this CodeBuilder builder, Register target, Register source)
 {
     return(builder.Addi(target, source, 0));
 }
Exemple #3
0
 public static CodeBuilder Pop_(this CodeBuilder builder, Register reg)
 {
     return(builder.Addi(R.Sp, R.Sp, +1).Ldr(reg, R.Sp));
 }