libs.tools

double

double(columnS:int, cellNum:int)

Turns a cell number to a tuple which hold the location in memory. Because Assembly doesn't work with matrices.

checkInteger

checkInteger(integer)

Checks if the input is a valid input for the memory.

decode

decode(code, mode)

Given a machine instruction, chop the last three digits to its parts.

instranslate

instranslate(operand:str)

Translates operands