added parsing for signed integers and floats

This commit is contained in:
Marc Zinnschlag 2010-06-29 12:05:22 +02:00
parent ab33234027
commit ca8002e533
7 changed files with 126 additions and 13 deletions

View file

@ -13,7 +13,9 @@ namespace Interpreter
interpreter.installSegment0 (0, new OpPushInt);
interpreter.installSegment5 (3, new OpIntToFloat);
interpreter.installSegment5 (6, new OpFloatToInt);
interpreter.installSegment5 (7, new OpNegateInt);
interpreter.installSegment5 (8, new OpNegateFloat);
// local variables
interpreter.installSegment5 (0, new OpStoreLocalShort);
interpreter.installSegment5 (1, new OpStoreLocalLong);