What is the content of registers after execution of the foll
What is the content of registers after execution of the following ADD AX, [BP] Where the contents of AX=1234, DS=1000, SS=1001, CS=1002, ES=1003, and BP=000. Also, the content of Memory locations 10010=1, 10011=2, 10012=3, 10013=4, 10014=5. 10015= 6. 10000=7. 10001=8, 10030=9, and 10031=A.
Solution
physical address = SS*10 + BP
=1001*10+000
=10010
the content of address 10010 is =1
so ADD AX,[BP] =1234+1=1235
![What is the content of registers after execution of the following ADD AX, [BP] Where the contents of AX=1234, DS=1000, SS=1001, CS=1002, ES=1003, and BP=000. A What is the content of registers after execution of the following ADD AX, [BP] Where the contents of AX=1234, DS=1000, SS=1001, CS=1002, ES=1003, and BP=000. A](/WebImages/3/what-is-the-content-of-registers-after-execution-of-the-foll-975648-1761500439-0.webp)