static public Cmd From(CmdType type, uint u) { return(new Cmd(type, u.At(2), u.At(1), u.At(0))); }
public static int At(this uint s, int x, int y) => s.At(3 * x + y);