Instruction Execution Engine

Help: File Formats

Instruction Definition Files (.js):
// In your JS file:
register(10, (params, context) => {
  // your code here
  return result;
}, 'Description of instruction');

Each file should call register(opcode, fn, doc) to define one or more instructions. fn receives parsed args (object) and context (shared).

Sequence Files (.txt):
# comment
1 Hello, World!
2 {"a":10,"b":5, "operation":"add"}
3 1000

Each line: <opcode> [arguments]. Arguments can be JSON or key=value pairs. Lines starting with # are comments.

1. Load Instruction Definition Files

Upload JS files that call register(opcode, fn, doc) to define new instructions.


2. Load Sequence Files


3. Available Instructions


    

4. Execution Log