Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Both sides next revision
avm:specs [2015/10/21 09:19]
ptm created
avm:specs [2021/09/23 08:51] (current)
Line 27: Line 27:
   -     SELECT(0x0090),     // select instruction //   -     SELECT(0x0090),     // select instruction //
   -     START(0x00a0);      // start instruction //   -     START(0x00a0);      // start instruction //
 +  -     ADD(0x1000),        // add operands //
 +  -     SUB(0x1001),        // subtract operands //
 +  -     MUL(0x1002),        // multiply operands //
 +  -     DIV(0x1003),        // divide operands //
 +  -     HEAD(0x1004)        // get head of a list //
 +  -     TAIL(0x1005)        // get tail of a list //
 +  -     INS(0x1006),        // insert element in list at the beginning //
 +  -     APP(0x1007),        // append element to list //
 +  -     AND(0x1008),        // logical and //
 +  -     OR(0x1009),         // logical or //
 +  -     NOT(0x100a);        // logical not //
 +====== Bytecode format ======
 +
 +
 +===== Header and complete code =====
 +<ditaa round noedgesep center>
 ++------------------------+
 ++     magic "AVM "       +
 ++------------------------+
 ++      version nr        +
 ++------------------------+
 ++  funcion block offset  +
 ++------------------------+
 ++      agent count       +
 ++------------------------+
 ++   agent table offset   +
 ++------------------------+
 ++   crypto block offset  +
 ++------------------------+
 ++------------------------+
 ++     function block     +
 ++------------------------+
 ++------------------------+
 ++      agent table       +
 ++------------------------+
 ++------------------------+
 ++     crypto block       +
 ++------------------------+
 +</ditaa>
 +