#include <vm.h>
Public Attributes | |
uint16 | breakpoints [ASEBA_MAX_BREAKPOINTS] |
uint16 | breakpointsCount |
uint16 * | bytecode |
uint16 | bytecodeSize |
uint16 | flags |
uint16 | nodeId |
uint16 | pc |
sint16 | sp |
sint16 * | stack |
uint16 | stackSize |
sint16 * | variables |
uint16 | variablesSize |
This structure contains the state of the Aseba VM. This is the required and the sufficient data for the VM to run. This is not sufficient for the compiler to build bytecode, as there is no description of variable names and sizes nor description of native function. For this, a description corresponding to the actual target must be provided to the compiler. ALL fields of this structure have to be initialized correctly for aseba to work. An initial call to AsebaVMInitStep must be done prior to any call to AsebaVMPeriodicStep or AsebaVMEventStep.