Methods
(static) parseHex(entry)
Function that return the hex code without comments, return, tab, spaces
Parameters:
Name | Type | Description |
---|---|---|
entry |
string with comments, hex code, spaces... |
- Source:
Throws:
error in case of incorrect entry
Returns:
hex code
parseInstruction(TO, AD, OD, OF)
function that returns the instruction corresponding to the params
Parameters:
Name | Type | Description |
---|---|---|
TO |
string or number | |
AD |
string or number | |
OD |
string or number | |
OF |
string or number |
- Source:
parseInstructions(entry)
function that returns a list of instructions from the given code
Parameters:
Name | Type | Description |
---|---|---|
entry |
code with comments, spaces, returns allowed |
- Source: