(arg int)
| 160 | func (i *instruction) setC(arg int) { i.setArg(posC, sizeC, arg) } |
| 161 | func (i *instruction) setBx(arg int) { i.setArg(posBx, sizeBx, arg) } |
| 162 | func (i *instruction) setAx(arg int) { i.setArg(posAx, sizeAx, arg) } |
| 163 | func (i *instruction) setSBx(arg int) { i.setArg(posBx, sizeBx, arg+maxArgSBx) } |
| 164 | |
| 165 | func createABC(op opCode, a, b, c int) instruction { |