asm/op: Define RegCount and RegSize constants and use them throughout.