added label for instructions so it would be easier to build jumps
changed resolveoperand logic