Created
August 27, 2014 10:43
-
-
Save aarroyoc/a01de8904fd39a442c20 to your computer and use it in GitHub Desktop.
instruction.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[deriving(FromPrimitive)] | |
enum Instruction { | |
INTEGER = 0x00, | |
STRING = 0x01, | |
ADD = 0x02, | |
SHOWINTEGER = 0x0A, | |
SHOWVERSION = 0x0E, | |
EXITVM = 0x0F | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment