add interpreter code and tests for loop counter instructions