Question

Assume that BX, SI, and DI contain the following value: (BX) = 0200H (SI) = 8124H...

  1. Assume that BX, SI, and DI contain the following value:

(BX) = 0200H

(SI) = 8124H

(DI) =FF78H,

(DS)=0000H

The memory locations contain the following values:

mem(1200H) = 82ABH

mem(0200H) = 3CD6H

mem(8324H) = 1AB4H

and that label ALPHA has the following value with address 1000H:

ALPHA 1200H

For each of the following instructions (executed separately), specify the addressing mode used, write the expression for effective address EA in register transfer language, calculate it, and give the result of operation.

ADD BX, 1234H

ADD SI, [BX]

SUB DI, [BX][SI]

      MOV ALPHA, BX

MOV AX, [BX]ALPHA

LEA AX, ALPHA

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
Assume that BX, SI, and DI contain the following value: (BX) = 0200H (SI) = 8124H...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • 1. If DS-1000H, BX-0200H, SI-O2H, the contents of Memory units10200H 10205H are respectively 10H, 2AH, 3CH,...

    1. If DS-1000H, BX-0200H, SI-O2H, the contents of Memory units10200H 10205H are respectively 10H, 2AH, 3CH, 46H 59H、6BH. What is the contents of the AX Register after each of the following instructions is executed? (1)MOV AX, 0200H (3)MOV AX, BX (5)MOV AX, [BX+SI (2) MOV AX, [200H (4) MOV AX, 3BXI (6) MOV AX, 2[BX+SI] 2, If DS 1000H, ES-2000H, SS-3500H, SI-00AOH, DI-0024H, BX-01 00H, BP-0200H. The Offset Address of the variable named VAL in the data segment is 0030H...

  • 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...

  • EEE 3423 - MICROPROCESSOR & MICROCOMPUTERS Sem I, 2019/2020 TUTORIAL #2: Week 05 - Week 08...

    EEE 3423 - MICROPROCESSOR & MICROCOMPUTERS Sem I, 2019/2020 TUTORIAL #2: Week 05 - Week 08 Answer all questions. [CO1-P011 1. Assuming that the instructions below are being executed in sequence from line 1 to 6. MOV AL, 010101010 MOV AH, AL AND AL, 00011111B OR AH, 11000000B XOR AL, 00001111B (62 NOT AH Descnbe the result of executing the following sequence of instructions from line 1 to 6 respectively but in HEX number system. Then, please provide the final...

  • 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...

  • 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...

  • Questions 6-10: Prior to execution of the instruction MOV CX,[1234H) - following are the information given...

    Questions 6-10: Prior to execution of the instruction MOV CX,[1234H) - following are the information given on the state of the processor CS = 0100H; DS=0200H; IP = 0000H; CX = 8B3AH Machine code for the above instruction=8B0E3412H; Answer the following questions 6-10 given below related to this instruction - 6. What is the content of the destination-operand prior to the instructions execution? a. 1234H b. 43211 c. 8B3AH d. 3A8BH e. Unknown 7. What is the content of 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)...

  • 4. Assemble the following instruction sequence into the memory starting at address CS: 100 and th...

    please provide screenshots using dos debug. 4. Assemble the following instruction sequence into the memory starting at address CS: 100 and then verify their machine code in the memory. a. ADD AX, 00FFH b. ADC SI, AX c. INC BYTE PTR [0100H] d. SUB DL, BL e. SBB DL, [0200H] f. DEC BYTE PTR [DI+BX] g. NEG BYTE PTR [DIJ+0010H h. MUL DX i. IMUL WORD PTR [BX+SI] j. DIV WORD PTR [SI]+0030H k. IDIV WORD PTR [BX]ISI]+0030HS. How many...

  • ) Identify the hexadecimal value moved to the destination by each of the following instruction below...

    ) Identify the hexadecimal value moved to the destination by each of the following instruction below based on the given data declaration. Assume that the offset of byteVal is 00000000H data byteVal wordVal dwordVal aString BYTE 1,2,3,4 WORD 1000H,2000H,3000H,4000H DWORD 12345678H,34567890H BYTE "ABCDEFG",0 ax,offset byteVal i. mov dx,wordVal i. mov al,aString+2 i11. mov dx,wordVal+4 iv. mov mov eax,offset byteVal+2 V. CO2 (10 marks) d) The incomplete program below used to find the multiplication product of the given numbers by 4...

  • please do not copy from previous posted answer (20pts) 6. Assume that a data segment in...

    please do not copy from previous posted answer (20pts) 6. Assume that a data segment in 80x86 Assembly has the following declarations: dw 1ABBH W х db 16 у db 'wxy' Z dw -26, 11 address 00. Show the values as they would appear in debug. Assume the memory starts Address 00 01 02 03 04 05 06 07 08 09 Value Given the above data segment, play computer with the following code and show the final hexadecimal values of...

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