Question: Question 1 Update registers after executing the following code mov al , val 1 mov bx , val 2 add bx , ax Mov cl

Question 1
Update registers after executing the following code
mov al,val1
mov bx,val2
add bx,ax
Mov cl,val3
Add ax,cx
Add bx,ax
mov result,bx
mov dl,bl
mov cx,result
val1: db 5
val2: dw 012h
Val3: db 2
result: dw 0
table[[AX,],[BX,],[CX,],[DX,]]
Question2
Sort the given list using bubble sort in ascending order (Give handwritten dry run in table form and show the all iterations and attach screenshots of afd debugger, otherwise marks will be deducted).
arr: dw 2,-5,5,00,12,90,48,3,6,0,80,-9
Quetion 3
Write an assembly program to calculate the Fibonacci sequence up to the nth term and store the result in memory.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!