main()
{ int reg[8];
int mem[20000];generated code
}
data movementNote: The compiler may output to the object code comments as the compiler writer sees fit.
reg[q] = mem[p]; // load
reg[q] = mem[reg[p]]; // load
reg[q] = integer constant; // store
mem[p] = reg[q]; // save
mem[reg[p]] = reg[q]; // savereg[p] = reg[q]; // copy
arithmetic operations
reg[p] += reg[q]; // add
reg[p] -= reg[q]; // sub
reg[p] /= reg[q]; // div
reg[p] *= reg[q]; // mul
reg[p] %= reg[q]; // mod
reg[p] = -reg[q]; // neglogical operations
reg[p] = (reg[p] == reg[q]); // EQ
reg[p] = (reg[p] < reg[q]); // LTcontrol statements
ident: // label
goto ident // jmp
if (reg[p]) goto ident // jmp not zero
if (! reg[p]) goto ident // jmp zeroinput/output operations
cout << reg[p]; // write integer value
cout << "\n"; // write newline
cout << integer const; // write integer constant
cout << string const; // write string constant
cin >> reg[p]; // read integer value