private static RegisterState Eqrr(RegisterState before, int a, int b, int c) { var value = before[a] == before[b] ? 1 : 0; return(before.With(value, c)); }
private static RegisterState Gtri(RegisterState before, int a, int b, int c) { var value = before[a] > b ? 1 : 0; return(before.With(value, c)); }
private static RegisterState Gtir(RegisterState before, int a, int b, int c) { var value = a > before[b] ? 1 : 0; return(before.With(value, c)); }
private static RegisterState Seti(RegisterState before, int a, int b, int c) { return(before.With(a, c)); }
private static RegisterState Borr(RegisterState before, int a, int b, int c) { var value = before[a] | before[b]; return(before.With(value, c)); }
private static RegisterState Bani(RegisterState before, int a, int b, int c) { var value = before[a] & b; return(before.With(value, c)); }