-
Notifications
You must be signed in to change notification settings - Fork 0
Code
neel902 edited this page Jan 29, 2025
·
7 revisions
THIS WIKI IS UNDER PROGRESS. FOR NOW, THE ONLY WAY TO GET THE FULL DETAILS IS TO LOOK AT THE SOURCE CODE
.func_name
code
_data
REG {name} {address} - Intitialise a register for use, with a name
DISP - Intitialise the GPU
LET {name} {value} - Create a variable
LTR {name} {lowercase letter} - Access the binary code of a lowercase letter or other supported character
_start, _tick
ADD {r1} {r2} {out}
RUN - Runs $rdi
SUB {r1} {r2} {out}
OUT/BOUT/PRN/PRL {reg(char_code)(str)}
NOT, AND, OR, XOR, NOR, NAND, XNOR {out} {reg1} (reg2[optional])
SET/BSET/SSET {reg} {value|bit|string}
MOV {reg} {out}
INP {reg}
SYSCALL - System Call. Uses registries $rax, $rdi
$rdi | function
---------+-------------------------
00000001 | Open file $rdi
00000010 | Write $rdi to file
00000011 | Read file into $rdi
00000100 | Close file
00000101 | Request URL
00000110 | Reads and closes the webpage HTML and save it to $rdi