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
Assume that the registers have the following values (all in hex) and that CS= 1000, DS...
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...
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 +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 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)...