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

Method Size

asm/instructions.go:87–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85}
86
87func (s SHL) Size() int {
88 return 1
89}
90
91func (s SHL) Emit(labelResolver LabelResolver, symbolResolver SymbolResolver) ([]uint16, error) {
92 return []uint16{shlOpcodes[s.Register]}, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected