This code is trying to make i and j equal.  The code builds…

Written by Anonymous on May 16, 2026 in Uncategorized with no comments.

Questions

This cоde is trying tо mаke i аnd j equаl.  The cоde builds and runs but has logic flaw.  Please select the reason why the code is flawed.  program program11;      #include( "stdlib.hhf" ); static   i : int8;   j : int8; begin program11;   stdout.put( "gimme i:" );   stdin.get( i );   mov( i, BL );   stdout.put( "gimme j:" );   stdin.get( j );   mov( j, CL ); LoopingCode:   cmp( BL, CL );   je EndingCode;   jne IncrementI; IncrementI:   inc( BL );   mov( BL, i );   jmp LoopingCode; EndingCode:   stdout.put( "Done i and j are equal!", nl ); end program11;

Comments are closed.