Exemoji supports general-purpose 8bit registers:
Register | Index | Special Use |
---|
In addition to these, there are two 16 bit registers, the program counter (PC) and stack pointer (SP), which are affected by specific instructions.
Immediate values can be directly encoded by bytes but this will sometimes result in invalid utf-8 sequences, as such there is an emoji alternative to encode immediate values
A nibble can be represented by one of the following emoji:
Code | Hex | Dec |
---|
To represent a full byte (octet), you need to prefix the immediate with followed by two nibble emoji.
Opcode | Name | Operands | Description |
---|
Some instructions take 16 bit addresses represented as a pair of operands. These are combined by interpreting the first operand as the most significant byte.
Code | Effect |
---|