Moved the global variables above start lable to fix runtime error. Added a sr for decode cmpea and branch to it right away for testing.