Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please help with these questions: 1- Name all 32 bit registers inside 80x86 micr

ID: 3888233 • Letter: P

Question

Please help with these questions:

1- Name all 32 bit registers inside 80x86 microprocessor.

2- Name all 16 bit registers inside 80x86 microprocessor.

3- Name all 8 bit registers inside 80x86 microprocessor.

4- Which of the following instructions are invalid? Discuss why they are invalid? If the instruction is valid, state what does happen after it is executed. Let’s assume EAX has the value 0x000020F0 (hex 000020F0 0010 0000 1111 000). Also memory locations $20F0, $20F1, $20F2 and $20F3 have the values 1, 2, 3 and 4.

a) MOVB %AL, %BL

b) MOVL 0x300, %EBX

c) MOVW %ECX, 0x30

d) MOVB 0x3400, %AL

e) MOVW %AX, %AL

Practice Problem 3.1 Assume the following values are stored at the indicated memory addresses and registers Address Value 0x100 0x104 0x108 0x100 OxFF OxAB 0x13 0x11 Register %eax %ecx %edx Value 0x100 0x1 0x3 Fill in the following table showing the values for the indicated operands: Value Operand %eax 0x104 $0x108

Explanation / Answer

Ans1. following are the 8086 CPU register (8 general purpose registers)

   AX - the accumulator register

BX - the base address register

CX - the count register

DX - the data register

SI - source index register:

DI - destination index register

BP - base pointer

SP - stack pointer

Aprt from this some other types of registers is also there

SEGMENT REGISTERS

Although any type of data can be stored segment registers, but this is never a good idea. These registers are used for very special purpose that is pointing at accessible blocks of memory.

Special Purpose Registers

IP register always works together with CS segment register and it points to currently executing instruction.

FLAGS REGISTER

Ans 2. Following all 16 bit registers inside 8086 microprocessor