SharedLabelRegistry

class SharedLabelRegistry(labels: MutableMap<String, LabelNode>, insns: InstructionAssembly)(source)

Stores labels that can be shared between assemblies

Constructors

Link copied to clipboard
constructor(labels: MutableMap<String, LabelNode>, insns: InstructionAssembly)

Functions

Link copied to clipboard
operator fun get(index: Int): KoffeeLabel

Get a label by an index.

operator fun get(name: String): KoffeeLabel

Get a label by name.