GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Contents
  • Current events
  • Random article
  • About Wikipedia
  • Contact us
  • Help
  • Learn to edit
  • Community portal
  • Recent changes
  • Upload file
  • Special pages
  • Search
  • Donate

This view

  • Original page
  • New address

GeezerVison is showing en.wikipedia.org — Trap flag - Wikipedia

A trap flag permits operation of a processor in single-step mode. If such a flag is available, debuggers can use it to step through the execution of a computer program.[1][2]

The trap flag, when set, causes the machine to trap after executing one instruction. The trap handler can cause a debugger to be notified; the debugger can then inspect the contents of registers and memory locations and either continue or stop and let the user of the debugger examine additional data in the program.

References

  1. ↑ Processor Handbook PDP-11/20/15/R20 (PDF). Digital Equipment Corporation. 1971. p. 11.
  2. ↑ "Intel 64 and IA-32 Architectures Software Developer's Manual" (PDF). Archived (PDF) from the original on November 9, 2024. Retrieved November 15, 2024.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Trap_flag&oldid=1331712745"
Categories:
  • Central processing unit
  • Debugging
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.