nanoFORTH v2.2
Loading...
Searching...
No Matches
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"
12namespace 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
nanoForth main controller
uint8_t U8
8-bit unsigned integer, for char and short int
Definition n4.h:65
Definition n4_vm.cpp:38
void serv_isr()
interrupt service routine
Definition n4_vm.cpp:317
int pop()
Definition n4_vm.cpp:313
void push(int v)
Definition n4_vm.cpp:312
void outer()
outer-interpreter
Definition n4_vm.cpp:327
void setup(const char *code, Stream &io, U8 ucase)
Definition n4_vm.cpp:300