MCPcopy Create free account
hub / github.com/djhworld/simple-computer / Size

Method Size

asm/instructions.go:199–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197}
198
199func (s STORE) Size() int {
200 return 1
201}
202
203func (s STORE) Emit(labelResolver LabelResolver, symbolResolver SymbolResolver) ([]uint16, error) {
204 return []uint16{stBases[s.FromRegister] + uint16(s.ToRegister)}, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected