Question

Assume that the registers have the following values (all in hex) and that CS= 1000, DS...

Assume that the registers have the following values (all in hex) and that CS= 1000, DS = 2000,
SS=3000, SI=4000, DI = 5000, BX=6080, BP= 7000, AX=25FF, CX=8791, and DX=1299. Calculate
the physical address of the memory where the operand is stored and the contents of the memory
locations in each of the addressing examples.
a) MOV [SI], AL
b) MOV [SI+BX+8], AH
c) MOV [BX]+300, DX
Now Examine the status of the CF, PF, AF, ZF, and SF if we execute the following statement after
first statement stated above. (N is equal to 123, convert to hex, show
binary equivalent of N and show all the carries generated at each stage of ad

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer :- Given data :- The registers have the following values in hexadecimal cs = 1000 DS = 2000 1 SS = 3000 Bx = 8080 DI =(2000) x to + 4000 - 20000 4000 j 24000 is 2H000 The physical address of memory Mov (51) , AL The content of AL IS FF is move(2000 x 10 ) + 6080 +300 2000 o 7 6380 26380 moy (Bx 3 + 300 IDX is 1999 is moved to 26380 The content of DX memory location.

Add a comment
Know the answer?
Add Answer to:
Assume that the registers have the following values (all in hex) and that CS= 1000, DS...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Q1. Assume that the registers have the following values (all in hex) and DS=311F, SS=560B, SI=130F,...

    Q1. Assume that the registers have the following values (all in hex) and DS=311F, SS=560B, SI=130F, DI=0405, BX=5011, AX=401D, CX=4500, and BP=195F. Calculate the physical address of the memory where the operand is stored and the contents of the memory locations in each of the following addressing examples. i. MOV [BP+12], AX ii. MOV [BX+SI+8], BX Q2. Find the IP, CS, and SP (locations and contents) after execution of the following instructions: i. 2000:015B FF 17 CALL FAR [BX] Initial...

  • 1. Initialize register DS 0B4C and register CS 0A4C (Note: this is to make the DS and CS occupy d...

    please provide screenshots using dos debugger 1. Initialize register DS 0B4C and register CS 0A4C (Note: this is to make the DS and CS occupy different space in memory), and then initialize the memory DS: 100H-10H; DS: 101-00H; DS:120H = FFH; DS:121H-FFH; DS:1 30H = 08H; DS:131H = 00H; DS:150H = 02H; DS:151H= 00H ; DS:200H 30H; DS:201H 00H; DS:210H 40H; DS:211 00H; DS:220H 30H; DS:221H 00H 2. Verify the contents of memory have been uploaded correctly with a D...

  • 5. Assume DS-1000, CS- 800, Ax-3412H, and BX-0200H. For the following x86 assembly code: MOV [BX...

    5. Assume DS-1000, CS- 800, Ax-3412H, and BX-0200H. For the following x86 assembly code: MOV [BX +1000H], AX a) Translate the assembly code to machine code (in Hex). The opcode of MOV instruction is 100010. b) Show the values of AX, BX, and new values in memory, if there are, in the following figure c) (10 points) AFTER executing the instruction. (5 points) What is the memory address accessed by the instruction, assuming real mode operation? Show it in the...

  • ECE3166 ADVANCED MICROPROCESSORS JUNE 2020 Question 2 (a) State the addressing mode and physical address of...

    ECE3166 ADVANCED MICROPROCESSORS JUNE 2020 Question 2 (a) State the addressing mode and physical address of the source operand for the x86 instructions below. Then, state the results and affected registers after execution of the instructions. The initial register / memory contents are given in Table Q2. MOV ECX ES [BX][SI] - 7 [4 marks] MUL BYTE PTR[202H] [5 marks] Table Q2 Register Register Content (Hex) CS 3000 DS 3001 ES 3002 SS 3003 AX BX SI DI Content (Hex)...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT