libs.assembler

Assembler

Assembler(self, string:str) -> str

Class that defines the assembler

translate

Assembler.translate(self, operands:list) -> str

Translates the assembly codes to machine code.

output

Assembler.output(self) -> list

Returns the instructions as a list