emitOn

open override 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.

Parameters

nybbles

The destination for the coded instruction.

operands

The operands to emit.