Wrote a parser for basic instructions