Question

1. Which register is used as the offset register with segment register CS? 2. If BX=1234H...

1. Which register is used as the offset register with segment register CS?

2. If BX=1234H AND THE INSTRUCTION “MOV[2400,BX]” were executed, what would be the contents of memory locations at offsets 2400 and 2401?

0 0
Add a comment Improve this question Transcribed image text
Answer #1
  1. IP register is used as a offset register with segment register CS.

Code segment (CS) is a 16-bit register containing address of 64 KB segment with processor instructions. The processor uses CS segment for all accesses to instructions referenced by instruction pointer (IP) register.

  1. If BX=1234H AND THE INSTRUCTION “MOV[2400,BX]” were executed, the contents of memory locations at offsets 2400 would be 34 and 2401 would contain 12
Add a comment
Know the answer?
Add Answer to:
1. Which register is used as the offset register with segment register CS? 2. If BX=1234H...
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
  • 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...

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

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

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

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

  • 1. Write a code segment that adds the immediate values $29 and $42, with the final...

    1. Write a code segment that adds the immediate values $29 and $42, with the final result located in register A. Determine the value of the result. 2. Write a code segment that uses one instruction to add 1 to register B. 3. Write a code segment that uses one instruction to subtract 1 from register X. 4. Write a code segment that loads the value $1234 into register D. 5. Write a code segment that loads S54 into B,...

  • 2. After initialization a user executes the following instructions: ORGO 0000 MOV A, #30H 0002 PUSH...

    2. After initialization a user executes the following instructions: ORGO 0000 MOV A, #30H 0002 PUSH A 0003 LCALL 0500H 0006 .. What are the contents of memory locations 8, 9 and 10 after the LCALL? (A) OSH OOH 30H (B) 30H OOH O5H (C) 30H 06H OOH (D) none of the above 3. If in question #2 a RET instruction is assembled and located at 0500H. The next instruction executed after this RET will be the instruction at memory...

  • Assignment 2 1. In real-address mode, convert the following segment offset address to a linear address:...

    Assignment 2 1. In real-address mode, convert the following segment offset address to a linear address: 0950:0100 2. In real-address mode, convert the following segment offset address to a linear address: 0CD1:02E0 3. What is the duration of a single clock cycle (in nanoseconds) in a 3.4 GHz 4. A hard disk rotates at 4200 RPM (rotations per minute). What is the timeof one rotation in milliseconds? 5. Which Intel processor was the first member of the IA-32 family? 6....

  • PCSrc Add ALU Add result Shift left 2 Read register 1Read Read register 2 Write register Write da...

    PCSrc Add ALU Add result Shift left 2 Read register 1Read Read register 2 Write register Write data RegWrite Read ALU operation MemWrite data 1 MemtoReg Zero ALU ALUAddresS data Instruction Registers Read Read Instruction MI IMI memory WriteData data memory 16 Sign- MemRead extend 3, (4 points) For question#2, in the datapath as shown in Fig. 1, assume that one of the following control signals has a stuch-at-0 fault, meaning that the signal is always 0, regardless of its...

  • Instruction set architecture R: register X, Y, Op1, Op2: Operand Quantity: constant value EA: Effective memory...

    Instruction set architecture R: register X, Y, Op1, Op2: Operand Quantity: constant value EA: Effective memory address Opcode Operation Name MOV X Y XCH Opl, Op2 ADD X, Y SUB X, Y SAL Op. Quantity SAR Op. Quantity SHR Op Quantity AND X, Y OR X. Y XOR X, Y NOT X LOAD RA LOAD R. (A) STORERA STORE R. (A) Description Move data from Y to X Exchange Opl with Op2 X=X+Y X=Y-X Shift Arithmetic Left on Op for...

  • Section B - ARM Assembly Language (25 marks) An ARM instruction set summary is provided at...

    Section B - ARM Assembly Language (25 marks) An ARM instruction set summary is provided at the end of this paper 1. (5 marks) Consider the following assembly instruction STMFD r13!, (r5-6} Before executing this instruction, registers hold the following values: Register Value Register r9 Value r4 0x00400040 0x00000000 r5 r10 0x11223344 0x00800080 r6 0x55667788 r11 0x10001000 r7 0x99aabbcc r12 0x20002000 r8 exddeeff00 r13 ex40004000 What memory locations are affected after executing the above instruction? In a table, with a...

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