Question: Can someone help with my Wombat Code because it is displaying it twice. Ass 2 s11133604 File Edit Modily Execute View Text Help input checks



Can someone help with my Wombat Code because it is displaying it twice.
Ass 2 s11133604 File Edit Modily Execute View Text Help input checks for-ve numbez jmpn store First value store second input read second input store Second value ipush to stack call sub_one call si main one: main tvo: call sub tw call :call s2 ca12 s3 istop progzan sub three main three: stop load Second_value subtract const tuo jrgn load subtract second value one: second input const eight second input jump main one :good till sub two: load First_value divide Second value storenew value multiply Second_value store new valuel load subtract new valuel push loadcount add store count load store First value store First value const one ne value main tuO endsub 2: return sub_two load count subtract const one sub three: O Console Enter an integer: 9 Enter an integer:2 0 Type here to search Ass 2 s11133604 File Edit Modily Execute View Text Help input checks for-ve numbez jmpn store First value store second input read second input store Second value ipush to stack call sub_one call si main one: main tvo: call sub tw call :call s2 ca12 s3 istop progzan sub three main three: stop load Second_value subtract const tuo jrgn load subtract second value one: second input const eight second input jump main one :good till sub two: load First_value divide Second value storenew value multiply Second_value store new valuel load subtract new valuel push loadcount add store count load store First value store First value const one ne value main tuO endsub 2: return sub_two load count subtract const one sub three: O Console Enter an integer: 9 Enter an integer:2 0 Type here to search
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
