1) How many times does this loop? L1: MOV CX, 4 DEC CX Loop L1 a.2 b.4 c. forever (infinity loop) d.3 2) Given the following psudo code: Ax =DX; if(AX is even) AX= Ax+2 ; else AX = A+1; Complete the...


i need the answer quickly


1) How many times does this loop?<br>L1: MOV CX, 4<br>DEC CX<br>Loop L1<br>a.2<br>b.4<br>c. forever (infinity loop)<br>d.3<br>2)<br>Given the following psudo code:<br>Ax =DX;<br>if(AX is even)<br>AX= Ax+2 ;<br>else<br>AX = A+1;<br>Complete the blanks in the following Assembly code to be equivalent to the given (psudo<br>code)high-level code.<br>mov Ax,Dx<br>mov cl,2<br>Div d<br>cmp,0<br>- next<br>add Ax,2<br>imp, endif<br>next: add ax,1<br>endif:<br>а. АН јe<br>b. AL je<br>C. AH ine.<br>d.AL ine.<br>

Extracted text: 1) How many times does this loop? L1: MOV CX, 4 DEC CX Loop L1 a.2 b.4 c. forever (infinity loop) d.3 2) Given the following psudo code: Ax =DX; if(AX is even) AX= Ax+2 ; else AX = A+1; Complete the blanks in the following Assembly code to be equivalent to the given (psudo code)high-level code. mov Ax,Dx mov cl,2 Div d cmp,0 - next add Ax,2 imp, endif next: add ax,1 endif: а. АН јe b. AL je C. AH ine. d.AL ine.

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here