Question

In: Computer Science

Hello, I am studying and I am a bit confused about registers. There are segments registers,...

Hello, I am studying and I am a bit confused about registers. There are segments registers, data registers, pointer registers, index registers. But I do not really understand where these are found. Are they found in 8086 architecture? For instance if I ask what type of registers are found in 8086 architecture what will be the answer? All of these or only segment registers?

Solutions

Expert Solution

Total Number of Registers in 8086 are Eight which are AX,BX,CX,DX,SI,DI,SP,DP

The Segment resisters and status register works together with general purpose register.The segment register are used to accessing the desired memory value.

In 8086 Microprocessor we can say their are four type of registers and all registers are of length 16 bit which are categorized as follows :

1.Generel Purpose Register

These register are use to store the data temporarily there are 8 registers in it but out of it 4 are mandatory general purpose register of 16 bit length each which are further divided into two subpart of 8 bit .

a.AX - It is accumulator used for athematic and logical operation

b.BX- It is Base register used to store the value of offset

c.CX- It is counter register used for looping and rotation

d.DX -It is data register used for multiplication of input and output port addressing

2.Segment Register.

This register are used to store the starting address of the data to get location of data it are very useful.There are 4 types of segment register in it which are of length 16bit.

a.Code segment register

It can be used by Microprocessor compiler only its segment contents can be modified by the user

b.Data segment register

It can be modified by user as per it's requirements

c.Stack segment register

It is used to store information about the memory segment and it's operations are push and pop

d.Extra segment register

If their are insufficient space in any of above segment compile of Microprocessor use this register

3.Pointer and Index Register

it stores the address or the memory location

a.Instruction pointer(IP)

It stores the address of the instruction which is going to be executed

b.Base pointer(BP)

It store the base address of the parameter in memory location

c.Stack pointer(SP)

It points towards the top parameter/element on the stack

d.Source Index Register(SR)

It's is used in string related operation and also stores the source address

e.Destination Index Register(DR)

It stores the destination address of element and also stores the string related operations.

4.Flag or Status Register

This tells us the status of the athematic and logical operation of an processor if flag is 1 then operation is successful and the flag is set to 1 ,if operation is not successful then flag is 0 which is going to be reset


Related Solutions

Hello, I am a bit confused as how line integrals can exist in 2D. For 2D,...
Hello, I am a bit confused as how line integrals can exist in 2D. For 2D, we are dealing with two variables: x and y. For 3D, we are dealing with three variables: x,y and z=f(x,y), such that f(x,y) = x+y. Since line integrals use the x and y components as inputs and f(x,y) = z as the output, should not line integrals exist in 3D always?
I had a question about ethnicity. I'm writing a paper and am a bit confused on...
I had a question about ethnicity. I'm writing a paper and am a bit confused on the word ethnicity. For example if a person is half asian and half white with some european ancestry what would you consider their ethnicity to be? And how does that differ from race?
I am a bit confused with the concept of "Operating Leverage". I understand its formula of...
I am a bit confused with the concept of "Operating Leverage". I understand its formula of the ratio of Contribution margin to Net income but I cannot clarify how its increase can have a negative impact on the profits and increase in risk.
Hello, I am confused on the difference between PV and PV (annuity), FV and FV(annuity). I...
Hello, I am confused on the difference between PV and PV (annuity), FV and FV(annuity). I do not know when to use one formula over the other. Is there a way you can simplify when to use each formula? The key differences? Key phrases or words I should associate them with? An easy way to remember how each formula is used? I am confused on TVM equations. For example) #1. You buy a property for $100,000 and you are offered...
I am a bit confused on this T/F question. Please provide an explanation. I said T....
I am a bit confused on this T/F question. Please provide an explanation. I said T. 1. The "this" keyword is meaningful only within instance methods. The options are Generics Interfaces Classes Fields Methods {{{{{{{{I chose interface}}}}}}}}}} 2. Abstract data types are expressed as which of these in Java;
i am currently studying long-term liabilities and am confused between the equity financing and bond financing....
i am currently studying long-term liabilities and am confused between the equity financing and bond financing. what are the pros and cons of each financing?
Hello i am studying for an Economics of Public Policy exam in the morning and wondering...
Hello i am studying for an Economics of Public Policy exam in the morning and wondering if there was anyone who would be able to give me an essay type answer (roughly 2 pages) to cover the following question: Discuss two types of market failures that can result in the inefficient market allocation of goods and services. What issues can arise from government intervention to improve efficiency in the presence of market failures.
This is to be done in excel (which I can do), but I am confused about...
This is to be done in excel (which I can do), but I am confused about which tail test to use and why to accept or reject H0- and the summary. According to research, holiday shoppers spent an average of $370 over a holiday weekend in 2008. The accompanying data show the amount spent by a random sample of holiday shoppers during the same weekend in 2009. Retailers were concerned that the economic downturn was affected holiday sales. Does this...
Hi I am working on my chemistry homework about acids and bases and I am confused...
Hi I am working on my chemistry homework about acids and bases and I am confused on this question from a lab. We used grape juice and cranberry juice and we had to put HCl and NaOH in the test tube full of juice. 1. Referring back to procedure 1 of the experiment, which of the two juices is more useful as a general pH indicator and why? I think it is grape juice but I just don't know what...
Hello, I am very new to 64-bit ARM assembly and would like the code to this...
Hello, I am very new to 64-bit ARM assembly and would like the code to this following question: The Fibonacci Sequence is a series of integers. The first two numbers in the sequence are both 1; after that, each number is the sum of the preceding two numbers. 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ... For example, 1+1=2, 1+2=3, 2+3=5, 3+5=8, etc. The nth Fibonacci number is the nth number in this sequence, so...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT