• Skip to main content
  • Skip to primary sidebar

Technipages

Tutorials and fixes for smartphone, gadget, and computer problems

  • Topics
    • Android
    • Browsers
    • Gaming
    • Hardware
    • Internet
    • iPhone
    • Linux
    • macOS
    • Office
    • Reviews
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
What Is a Stack Puke?

What Is a Stack Puke?

November 30, 2022 by Mel Hawthorne Leave a Comment

Stack puke is the name for a process in which processors in computers save their internal states when they encounter an exception. The term comes from the description of the way the process is visualised – as the processor ‘puking its guts’ into the stack. The stack here, is a LIFO data structure that contains instructions. LIFO means last in, first out, and it describes a way of processing data. Specifically, one where the last bit of data received is the first to be sent out when it has been processed. A LIFO structure in computing is used in lots of ways – syntax parsing, recursive functions, expression evaluation, and more.

The process of stack puking isn’t universal – only some processor architectures do this. To use an older example – the Motorola 68020 does this. If it encounters some kind of exception or fault, the stack puke process runs. It is used to save important internal state information while the error is taken care of and resolved. The process of saving the internal state info can take a while, and lead to a slowing of the processor’s performance while it happens. This is especially true for processors with long pipelines. Of course, slowdowns can happen for a lot of reasons, not just for a stack puke.

Tip: A long time is relative. The time taken will generally be measured in clock cycles, which in modern CPUs are extremely short time periods.

In the case of the Motorola 68020, a stack puke can ‘regurgitate’ up to 92 bytes of data. This can happen when it encounters a bus fault, for example.

You Might Also Like

  • How to Use Smart Stack Widget on iPhone and iPad: The Ultimate Guide
    How to Use Smart Stack Widget on iPhone and iPad: The…

Filed Under: Hardware

Reader Interactions

Did this help? Let us know!

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • How to Make a Drop-Down List in Excel: 2 Best Methods in 2023
  • Can You Mix RAM Brands: A Guide for RAM Mix and Match
  • Google Photos: How to Recover Erased Pictures
  • New Galaxy S23: Full Specs, Features, and More
  • How to Block Calls on Android
  • Mimecast for Outlook: Everything You Need to Know
  • What Is PoE?
  • Excel Calendar Template 2023: The 9 Best Sources You Must Know

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

© Copyright 2023 Guiding Tech Media · All Rights Reserved · Privacy