0 votes 0 votes how many no of times the instruction sequence below will loop before coming out of loop? A1; MOV AL,00H INC AL JNZ A1 neha singh asked Jun 16, 2016 neha singh 1.3k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
4 votes 4 votes It will run infinite time, because in each step you are loding 00H into accumulater and incrementing it and checking that, jump if accumulator is not zero. It will never be zero. It will always be 1. rude answered Jun 16, 2016 rude comment Share Follow See all 3 Comments See all 3 3 Comments reply neha singh commented Jun 16, 2016 reply Follow Share OBTIONS ARE: 1. 1 2. 255 3. 256 4. WILL COME OUT OF LOOP WHICH ONE EXCATLY?from given obtions? 0 votes 0 votes rude commented Jun 16, 2016 reply Follow Share @neha If the code is as follows MOV AL,00H A1: INC AL JNZ A1 Then it will run 256 times. else It will never come out of loop. 0 votes 0 votes Sanjay Sharma commented Jul 8, 2016 reply Follow Share rude kindly give reference or link of some material regarding 8085 0 votes 0 votes Please log in or register to add a comment.