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

Function createABx

instructions.go:172–176  ·  view source on GitHub ↗
(op opCode, a, bx int)

Source from the content-addressed store, hash-verified

170}
171
172func createABx(op opCode, a, bx int) instruction {
173 return instruction(op)<<posOp |
174 instruction(a)<<posA |
175 instruction(bx)<<posBx
176}
177
178func createAx(op opCode, a int) instruction { return instruction(op)<<posOp | instruction(a)<<posAx }
179

Callers 1

encodeABxMethod · 0.85

Calls 1

instructionTypeAlias · 0.85

Tested by

no test coverage detected