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

Method Size

asm/instructions.go:46–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46func (d DATA) Size() int {
47 return 2
48}
49
50func (d DATA) Emit(labelResolver LabelResolver, symbolResolver SymbolResolver) ([]uint16, error) {
51 instruction := dataOpcodes[d.ToRegister]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected