Simon Cozens:
>     lt I1, 1, ERROR
>     gt I1, 100, ERROR
>     branch OK
>     ERROR: print "Register out of bounds"
>     end
>     OK:
> 
> label resolution, this code would be equivalent to:
> 
>     lt I1, 1, 9
>     gt I1, 100, 6
>     branch 4
>     print "Register out of bounds"
>     end

Or rather:

    lt   I1, 1, 10
    gt   I1, 100, 6
    branch   5
    print   "Register out of bounds"
    end  

Oops.

-- 
God gave man two ears and one tongue so that we listen twice as much as
we speak.
                -- Arab proverb

Reply via email to