refactored so that functions create assembly instructions
working on a function to test whether a string is in ops array