MCPcopy Create free account
hub / github.com/elvin-du/tinyscript / FromByCode

Function FromByCode

gen/instruction.go:140–188  ·  view source on GitHub ↗
(code int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

DecodeMethod · 0.92
TestAddFunction · 0.85
TestMultFunction · 0.85
TestNewJumpInstructionFunction · 0.85
TestJRFunction · 0.85
TestSWFunction · 0.85
TestSW1Function · 0.85
TestLWFunction · 0.85
TestLW2Function · 0.85
TestSPFunction · 0.85
TestBNEFunction · 0.85

Calls 5

RegisterFromAddrFunction · 0.92
NewImmediateNumberFunction · 0.92
DecodeOffsetFunction · 0.92
FromByteFunction · 0.85
NewInstructionFunction · 0.85

Tested by 10

TestAddFunction · 0.68
TestMultFunction · 0.68
TestNewJumpInstructionFunction · 0.68
TestJRFunction · 0.68
TestSWFunction · 0.68
TestSW1Function · 0.68
TestLWFunction · 0.68
TestLW2Function · 0.68
TestSPFunction · 0.68
TestBNEFunction · 0.68