Skip to content
Mayoi edited this page Feb 20, 2020 · 4 revisions

Usage

Basic Write

write8bit(A,V) 0AAAAAAA 000000VV -> Writes value V into address A (8-bit Write)


write16bit(A,V) 1AAAAAAA 0000VVVV -> Writes value V into address A (16-bit Write)


write32bit(A,V) 2AAAAAAA VVVVVVVV -> Writes value V into address A (32-bit Write)


Increment and Decrement Address

change8bit(A,V) V can be negative

300000VV 0AAAAAAA -> Increases the value of address A by the value V (8-bit)

301000VV 0AAAAAAA -> Decreases the value of address A by the value V (8-bit)


change16bit(A,V) V can be negative

3020VVVV 0AAAAAAA -> Increases the value of address A by the value V (16-bit)

3030VVVV 0AAAAAAA -> Decreases the value of address A by the value V (16-bit)


change32bit(A,V) V can be negative

30400000 0AAAAAAA |-> Increases the value of address A by the value V (32-bit)

VVVVVVVV 00000000 |

30500000 0AAAAAAA |-> Decreases the value of address A by the value V (32-bit)

VVVVVVVV 00000000 |


Copy Functions

copynbyte(F,N,T)

5FFFFFFF NNNNNNNN |-> Copies the N amount of bytes from address F to address T

0TTTTTTT 00000000 |


copyfrompoint(A,O,T)

8AAAAAAA OOOOOOOO |-> Copies the value at the pointed address of A + O into

0TTTTTTT 00000000 | address T


copyadrr2addr(A,T)

9AAAAAAA 0TTTTTTT -> Copies the value stored at address A to address T


copytopoint(D,P,I)

ADDDDDDD 00000000 |-> Copies the value stored at address D to the pointed

0PPPPPPP 0IIIIIII | address of P + I


If Functions

ifaddr(A,Z,Y,T) {

  code

}

CAAAAAAA 00000000 |-> Compares the value at address A with the value at

0TTTTTTT YZXXXXXX | address T. If true, activates X amount of lines.

Value Type (Y): 32 = 32-Bit, 16 = 16-Bit, 8 = 8-Bit

Operations (Z): == = Equal, != = Not Equal, < = Lesser, > = Greater


if1(A,X,V)

DAAAAAAA 00XXVVVV -> Checks the value at address A and compares it to value V. If the

condition is true, it activates 1 line of code.

Operations (X): == = Equal, != = Not Equal, < = Lesser, > = Greater


if(A,X,Z,V) {

  code

}

EZNNVVVV XAAAAAAA -> Checks the value at address A and compares it to value V. If the

condition is true, it activates N amount of lines.

Value Type (Z): 16 = 16-Bit, 8 = 8-Bit

Operations (X): == = Equal, != = Not Equal, < = Lesser, > = Greater


Miscellaneous Operations

timer(S){

  code

}

BXXSSSSS 00000000 -> Activates X amount of lines every S milliseconds.


loopwrite(A,T,B,V)

4AAAAAAA TTTTBBBB |-> Writes value V into address A + (B * (4 * T))

VVVVVVVV 00000000 | in a loop T times.


writetopoint(A,O,X,V)

6AAAAAAA VVVVVVVV |-> Writes value V into the pointed address of A + O, X

000X0000 OOOOOOOO | determines data depth (0 = 8-bit, 1 = 16-bit 2 = 32-bit)


writelogic(A,X,V)

7AAAAAAA 000XVVVV -> Performs a bitwise operation with the value stored at address

A and value V, and writes it back to address A.

Operations (X): 8OR = 8-Bit OR, 16OR = 16-Bit OR, 8AND = 8-Bit AND, 16AND = 16-Bit AND, 8XOR = 8-Bit XOR 16XOR = 16-Bit XOR

Clone this wiki locally