nanoFORTH  v2.2
n4_vm.h
Go to the documentation of this file.
1 
6 #ifndef __SRC_N4_VM_H
7 #define __SRC_N4_VM_H
8 #include "n4.h"
12 namespace N4VM
13 {
14  // interface
15  void push(int v);
16  int pop();
17  // nanoForth Virtual Machine constructor
18  void setup(
19  const char *code,
20  Stream &io,
21  U8 ucase
22  );
23  void outer();
24  void serv_isr();
25 }; // namespace N4VM
26 #endif //__SRC_N4_VM_H
N4VM::setup
void setup(const char *code, Stream &io, U8 ucase)
Definition: n4_vm.cpp:300
N4VM::outer
void outer()
outer-interpreter
Definition: n4_vm.cpp:329
N4VM
Definition: n4_vm.cpp:38
N4VM::serv_isr
void serv_isr()
interrupt service routine
Definition: n4_vm.cpp:319
N4VM::pop
int pop()
Definition: n4_vm.cpp:315
N4VM::push
void push(int v)
Definition: n4_vm.cpp:314
N4Core::io
Stream * io
default to Arduino Serial Monitor
Definition: n4_core.cpp:21
U8
uint8_t U8
8-bit unsigned integer, for char and short int
Definition: n4.h:65
n4.h
nanoForth main controller