MCPcopy Index your code
hub / github.com/Shopify/go-lua / setSBx

Method setSBx

instructions.go:163–163  ·  view source on GitHub ↗
(arg int)

Source from the content-addressed store, hash-verified

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

Callers 1

fixJumpMethod · 0.80

Calls 1

setArgMethod · 0.95

Tested by

no test coverage detected