Question: Course: Assembly Language answer ASAP [Restriction: Don't use any readymade directive of Irvine Use only jumps] 2. What will be the final value stored in

Course: Assembly Language
answer ASAP
[Restriction: Don't use any readymade directive of Irvine Use only jumps] 2. What will be the final value stored in memory variable (SUM) after the execution of the following assembly code? SByte 3,-1, 4, 2, 5, 9, -2, -7 ? .8086 MODEL TINY DATA NUMBERS SByte SUM .CODE .STARTUP MOV SI, OFFSET NUMBERS MOV AX, OH MOV CX, 4 Ll: MOV BL, [SI] ADD AL, BL ADD SI, 2 LOOP LI MOV SUM, AL .EXIT END 3. Write statements that jump to the label L2 if and only if the signed value of the expression (count - CX + 2) is less than or equal to the value in memory pointed to by the Di register; otherwise, jump to the label L3: 1: mov ax,count 2: 3: 4: 5: jle L2 6: .... cmp ax,[di] jmp L3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
