Remove tabs and change getType/getInstruction to unsigned chars
Update for unsigned char API
Compare instruction IDs as ints