(op opCode, a, b, c int)
| 163 | func (i *instruction) setSBx(arg int) { i.setArg(posBx, sizeBx, arg+maxArgSBx) } |
| 164 | |
| 165 | func createABC(op opCode, a, b, c int) instruction { |
| 166 | return instruction(op)<<posOp | |
| 167 | instruction(a)<<posA | |
| 168 | instruction(b)<<posB | |
| 169 | instruction(c)<<posC |
| 170 | } |
| 171 | |
| 172 | func createABx(op opCode, a, bx int) instruction { |
| 173 | return instruction(op)<<posOp | |
no test coverage detected