q1.What is the effective address generated by each of thefollowing instruction?
ID: 3610165 • Letter: Q
Question
q1.What is the effective address generated by each of thefollowing instruction?
Initially BX=0x0010,label=0x0124, [label]=0x0001, andSI=0x00F1
(Offsets in part a, b and f are in decimal)
Q2.Write a program in assembly language that calculates the sumof first five odd numbers (1, 3, 5, 7, 9) and stores the result inAX register.
You can do it with the help of loop (initialize AX register withvalue 0 and BX with value 1, and then on each iteration of loop addBX into AX and add value 2 in BX).
You are NOT allowed to define the data (likenum1: dw 1, 3, 5, 7, 9)
You have to submit the assembly language code for this programand screen-shot of this program loaded in AFD debugger in which theAX register contains the result.
q3.Calculate the physical memory address generated by thefollowing segment offset pairs (both are hexadecimal values).
Explanation / Answer
please rate - thanks question 3 Calculate the physical memory address generated by the followingsegment offset pairs all answers in hex 0000:0100 00000+0100=00100 0010:0000 00100+0000=00100 1DAD:1234 1DAD+1234=2FE1 4321:FFFF 43210+FFFF=5320F FFFF:4321 FFFF0+4321=104311 FFEF:4421 FFEF0+4421=104311 1080:0200 10800+200=10A00
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.