Defines | Functions
vm.c File Reference
#include "../common/consts.h"
#include "../common/types.h"
#include "vm.h"
#include <string.h>
Include dependency graph for vm.c:

Go to the source code of this file.

Defines

#define BIT_CLR(v, b)   ((v) &= (~(1 << (b))))
 Set bit b of v to 0.
#define BIT_SET(v, b)   ((v) |= (1 << (b)))
 Set bit b of v to 1.
#define GET_BIT(v, b)   (((v) >> (b)) & 0x1)
 Return true if bit b of v is 1.

Functions

void AsebaDebugBareRun (AsebaVMState *vm, uint16 stepsLimit)
void AsebaDebugBreakpointRun (AsebaVMState *vm, uint16 stepsLimit)
uint16 AsebaVMCheckBreakpoint (AsebaVMState *vm)
uint16 AsebaVMClearBreakpoint (AsebaVMState *vm, uint16 pc)
void AsebaVMClearBreakpoints (AsebaVMState *vm)
void AsebaVMDebugMessage (AsebaVMState *vm, uint16 id, uint16 *data, uint16 dataLength)
static sint16 AsebaVMDoBinaryOperation (AsebaVMState *vm, sint16 valueOne, sint16 valueTwo, uint16 op)
static sint16 AsebaVMDoUnaryOperation (AsebaVMState *vm, sint16 value, uint16 op)
void AsebaVMEmitNodeSpecificError (AsebaVMState *vm, const char *message)
uint16 AsebaVMGetEventAddress (AsebaVMState *vm, uint16 event)
void AsebaVMInit (AsebaVMState *vm)
uint16 AsebaVMRun (AsebaVMState *vm, uint16 stepsLimit)
void AsebaVMSendExecutionStateChanged (AsebaVMState *vm)
uint8 AsebaVMSetBreakpoint (AsebaVMState *vm, uint16 pc)
uint16 AsebaVMSetupEvent (AsebaVMState *vm, uint16 event)
uint16 AsebaVMShouldDropPacket (AsebaVMState *vm, uint16 source, const uint8 *data)
void AsebaVMStep (AsebaVMState *vm)

Detailed Description

Implementation of standard natives functions for Aseba Virtual Machine

Implementation of Aseba Virtual Machine

Definition in file vm.c.



aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:17