Modules

Code function that generate Listing instead of Tokens

Functions

Generate an ASSERT token from the string description of the expression

Call opcode

Generate a call

Generate defw directive with one argument

Generate defb directive from a slice of expression

Generate defs directive

Generate defs directive

Generate defw directive with one argument

DJNZ opcode

Generate the opcode inc $reg

Generate the opcode inc $reg

Generate the opcode inc $reg

Generate the opcode inc $reg

Generate the opcode inc $reg

Generate the opcode inc $reg

Generate the opcode inc $reg

Generate the opcode inc $reg

Generate the opcode inc $reg

Generate the opcode inc $reg

Generate the opcode inc $reg

Generate the opcode LD $reg, expr

Generate the opcode LD $reg, expr

Generate the opcode LD $reg, expr

Generate the opcode LD $reg, expr

Generate the opcode LD $reg, expr

Generate the opcode LD $reg, expr

Generate the opcode LD $reg, expr

Generate the opcode LD $reg, expr

Generate the opcode LD $reg, expr

Generate the opcode LD $reg, expr

Generate the opcode LD $reg, expr

I have clear doubt that this exists really

NOP instruction

Generate org directive

Ret token

Build a token that represents a mnemonic with only one argument BUT positionned in the last position (for jp for example)

Build a token that represents a mnemonic without any argument

Build a token that represents a mnemonic with only one argument

Build a token that represents a mnemonic with two arguments