OpenSimMirror/libraries/libLSL/lslByteCode.cs

40 lines
734 B
C#
Raw Normal View History

2007-05-03 04:13:43 +00:00
using System;
using System.Collections.Generic;
using System.Text;
namespace libLSL
{
class lslByteCode
{
byte[] bytecode;
public void executeStep()
{
byte ins = nextInstruction();
lslOpcodes code = (lslOpcodes)ins;
switch (code)
{
case lslOpcodes.OP_NOOP:
break;
case lslOpcodes.OP_POP:
popBytes(4);
break;
default:
break;
}
}
byte nextInstruction()
{
return 0;
}
void popBytes(int num)
{
}
}
}