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

Method Size

asm/instructions.go:577–579  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

575}
576
577func (a ADD) Size() int {
578 return 1
579}
580
581func (a ADD) Emit(labelResolver LabelResolver, symbolResolver SymbolResolver) ([]uint16, error) {
582 return []uint16{addBases[a.ARegister] + uint16(a.BRegister)}, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected