微机原理,计算机体系结构colorado state university版chap10.pptxVIP

  • 1
  • 0
  • 约6.94千字
  • 约 21页
  • 2022-06-10 发布于北京
  • 举报

微机原理,计算机体系结构colorado state university版chap10.pptx

Chapter 10 The Stack Stack data structure Interrupt I/O (again!) Arithmetic using a stack 10 - 2 Stack Data Structure Abstract Data Structures are defined simply by the rules for inserting and extracting data The rule for a Stack is LIFO (Last In - First Out) Operations: Push (enter item at top of stack) Pop (remove item from top of stack) Error conditions: Underflow (trying to pop from empty stack) Overflow (trying to push onto full stack) We just have to keep track of the address of top of stack (TOS) 10 - 3 A “physical” stack A coin holder as a stack 10 - 4 A hardware stack Implemented

文档评论(0)

1亿VIP精品文档

相关文档