==[ Chromium ]==
** CLICK: Run **
Output
PC=0B LOADB A=10000000aB B=0
PC=1B ADDB A=10000000bB B=0
PC=2B STOREB A=10000000cB B=0
PC=3B HALTB A=0B B=0
B -> HALT
==[ /Chromium ]==
Updated index.html
==[ Chromium ]==
** RELOAD **
OmniVM , Single Node SimulatorC"
Enter a JSON array of 128,bit instructions (as objects) and click Run.C"
[
B B {"opcode": "LOADI", "gas": 1, "operandA": "0x42", "operandB": 0},
B B {"opcode": "STORE", "gas": 10, "operandA": "0x000000010000000A",
"operandB": 0},
B B {"opcode": "LOADI", "gas": 1, "operandA": "0x10", "operandB": 1},
B B {"opcode": "ADD",B B"gas": 5, "operandA": "0x000000010000000A",
"operandB": 1},
B B {"opcode": "STORE", "gas": 10, "operandA": "0x000000010000000B",
"operandB": 1},
B B {"opcode": "HALT",B "gas": 1, "operandA": "0x0000000000000000",
"operandB": 0}
]
Run Reset
Output
PC=0B LOADIB A=42B B=0
PC=1B STOREB A=10000000aB B=0
PC=2B LOADIB A=10B B=1
PC=3B ADDB A=10000000aB B=1
PC=4B STOREB A=10000000bB B=1
PC=5B HALTB A=0B B=0
B -> HALT
Registers
R0=42B R1=52B R2=0B R3=0B R4=0B R5=0B R6=0B R7=0B R8=0B R9=0B R10=0B R11=0B
R12=0B R13=0B R14=0B R15=0
Memory (first 20 entries)
0x10000000a => 42
0x10000000b => 52
==[ /Chromium ]==