Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  How many stack register does an 8087 have?a)4... Start Learning for Free
 How many stack register does an 8087 have?
  • a)
    4
  • b)
    8
  • c)
    16
  • d)
    32
Correct answer is option 'B'. Can you explain this answer?
Verified Answer
How many stack register does an 8087 have?a)4b)8c)16d)32Correct answer...
Explanation: The 8087 coprocessor does not have a main register set but they have an 8-level deep stack register from st0 to st7.
View all questions of this test
Most Upvoted Answer
How many stack register does an 8087 have?a)4b)8c)16d)32Correct answer...
8087 Numeric Data Processor (NDP)

The 8087 Numeric Data Processor (NDP) is a coprocessor designed to perform floating-point arithmetic operations on the Intel 8086 and 8088 processors. It extends the capabilities of the base processor by offloading complex mathematical calculations to a dedicated unit.

Stack Register in 8087

The 8087 NDP has a dedicated stack register that is used for temporary storage of intermediate results during floating-point calculations. This stack is separate from the main memory stack used by the CPU.

Number of Stack Registers

The 8087 NDP has a total of 8 stack registers available for use. These registers are organized as a last-in-first-out (LIFO) stack and are used for storing operands, intermediate results, and control information during floating-point operations.

Stack Register Organization

The 8087 stack registers are identified as ST(0) through ST(7), where ST(0) is the top of the stack and ST(7) is the bottom. The stack registers are 80 bits wide and can store floating-point values with precision up to 64 bits.

Usage of Stack Registers

The stack registers are used for various purposes during floating-point calculations, including:

1. Storing operands: Before performing an arithmetic operation, the operands are loaded onto the stack registers. The top of the stack (ST(0)) holds the first operand, and the second operand is placed on the next stack register (ST(1)).

2. Performing calculations: The 8087 NDP performs arithmetic operations using the values stored in the stack registers. The results are stored back onto the stack, allowing for chaining multiple calculations together.

3. Temporary storage: The stack registers are used for temporary storage of intermediate results during complex calculations. This allows for efficient handling of complex mathematical expressions.

Conclusion

In conclusion, the 8087 NDP has a total of 8 stack registers available for use. These registers provide temporary storage for operands, intermediate results, and control information during floating-point calculations. The stack registers are organized as a LIFO stack and are an integral part of the 8087 coprocessor's architecture.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Question Description
How many stack register does an 8087 have?a)4b)8c)16d)32Correct answer is option 'B'. Can you explain this answer? for Computer Science Engineering (CSE) 2025 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about How many stack register does an 8087 have?a)4b)8c)16d)32Correct answer is option 'B'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for How many stack register does an 8087 have?a)4b)8c)16d)32Correct answer is option 'B'. Can you explain this answer?.
Solutions for How many stack register does an 8087 have?a)4b)8c)16d)32Correct answer is option 'B'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of How many stack register does an 8087 have?a)4b)8c)16d)32Correct answer is option 'B'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of How many stack register does an 8087 have?a)4b)8c)16d)32Correct answer is option 'B'. Can you explain this answer?, a detailed solution for How many stack register does an 8087 have?a)4b)8c)16d)32Correct answer is option 'B'. Can you explain this answer? has been provided alongside types of How many stack register does an 8087 have?a)4b)8c)16d)32Correct answer is option 'B'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice How many stack register does an 8087 have?a)4b)8c)16d)32Correct answer is option 'B'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev