 }
 
 
-static int16_t mem_read(uint16_t addr, bool is16bit, void *ctx UNUSED)
+static int16_t memoryRead(uint16_t address, bool is16bit, void *ctx UNUSED)
 {
   if (is16bit)
-    return (memory[addr] << 8) | memory[addr+1];
-  return memory[addr];
+    return (memory[address] << 8) | memory[address+1];
+  return memory[address];
 }
 
-static void mem_write(uint16_t addr, int16_t value, bool is16bit, void *ctx UNUSED)
+static void memoryWrite(uint16_t address, int16_t value, bool is16bit, void *ctx UNUSED)
 {
   if (is16bit) {
-    memory[addr] = value >> 8;
-    memory[addr+1] = value;
+    memory[address] = value >> 8;
+    memory[address+1] = value;
   } 
   else
-    memory[addr] = value;
+    memory[address] = value;
 }
 
-static int16_t call_user(uint8_t funcid, uint8_t argc, int16_t *argv, void *ctx UNUSED)
+static int16_t callUserFunction(uint8_t function, uint8_t argc, int16_t *argv, void *ctx UNUSED)
 {
   int16_t ret = 0;
   int i;
 
-  if (funcid == 0) {
+  if (function == 0) {
     stop = true;
     Serial.println("Called user function 0 => stop.");
     Serial.flush();
     return ret;
   }
 
-  Serial.print("Called user function " + String(funcid) + " with " + String(argc) + " args:");
+  Serial.print("Called user function " + String(function) + " with " + String(argc) + " args:");
 
   for (i = 0; i < argc; i++) {
     Serial.print(" " + argv[i]);

  {
    Serial.print("IP: " + String(no::vm.ip) + " (" + String(memory[no::vm.ip]) + " " + String(memory[no::vm.ip + 1]) + " " + String(memory[no::vm.ip + 2]) + " " + String(memory[no::vm.ip + 3]) + "),  "); //print next instruction to execute
    Serial.print("SP: " + String(no::vm.sp) + " (" + String(memory[no::vm.sp]) + String(memory[no::vm.sp + 1]) + " " + String(memory[no::vm.sp + 2]) + String(memory[no::vm.sp + 3]) + " " + String(memory[no::vm.sp + 4]) + String(memory[no::vm.sp + 5]) + " " + String(memory[no::vm.sp + 6]) + String(memory[no::vm.sp + 7]) + "),  "); //print last pushed words on the stack
    Serial.print("SFP: " + String(no::vm.sfp)); //print the address of the first local variable on the stack
    Serial.println("");
    Serial.flush();
  }

  Serial.println("");
  Serial.flush();

  return ret ^ function;
}


