StyleRuleInstructionCoder

A StyleRuleInstructionCoder implements a strategy for correlating instructions and their decoders. Subclasses self-register simply by calling the superconstructor.

Author

Todd L Smith

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun emitOn(nybbles: NybbleOutputStream, vararg operands: Int)

Encode the associated instruction onto the specified NybbleOutputStream. Subclasses should call the superimplementation to ensure that the opcode is correctly encoded. This protocol exists to permit the code generator to emit instructions without instantiating them.