#include <FVM.h>
Definition at line 251 of file FVM.h.
Construct task with given in-/output stream, stacks and threaded code pointer. Default number conversion base is 10, and trace disabled.
- Parameters
-
[in] | ios | in-/output stream. |
[in] | sp0 | bottom of parameter stack. |
[in] | rp0 | bottom of return stack. |
[in] | fn | threaded code pointer. |
Definition at line 269 of file FVM.h.
Set task instruction pointer to given threaded code pointer.
- Parameters
-
[in] | fn | threaded code pointer. |
- Returns
- task reference.
Definition at line 331 of file FVM.h.
int FVM::task_t::depth |
( |
| ) |
|
|
inline |
Parameter stack depth.
- Returns
- depth.
Definition at line 303 of file FVM.h.
Pop value from parameter stack.
- Returns
- value poped.
Definition at line 294 of file FVM.h.
void FVM::task_t::push |
( |
cell_t |
value | ) |
|
|
inline |
Push value to parameter stack.
- Parameters
-
Definition at line 285 of file FVM.h.
bool FVM::task_t::trace |
( |
| ) |
|
|
inline |
Get trace mode.
- Returns
- trace mode.
Definition at line 312 of file FVM.h.
void FVM::task_t::trace |
( |
bool |
flag | ) |
|
|
inline |
Set trace mode.
- Parameters
-
Definition at line 321 of file FVM.h.
Number conversion base.
Definition at line 253 of file FVM.h.
Stream& FVM::task_t::m_ios |
Input/Output stream.
Definition at line 252 of file FVM.h.
Return stack pointer.
Definition at line 255 of file FVM.h.
Return stack bottom pointer.
Definition at line 256 of file FVM.h.
Parameter stack pointer.
Definition at line 257 of file FVM.h.
Parameter stack bottom pointer.
Definition at line 258 of file FVM.h.
bool FVM::task_t::m_trace |
Trace mode.
Definition at line 254 of file FVM.h.
The documentation for this struct was generated from the following file: