English
Language : 

AMD-K6-2E Datasheet, PDF (264/332 Pages) Advanced Micro Devices – AMD-K6™-2E Embedded Processor
AMD-K6™-2E Processor Data Sheet
Preliminary Information
22529B/0—January 2000
Interrupt 01h. The following events are considered debug traps
that cause the processor to generate an Interrupt 01h
exception:
s Enabled breakpoints for data and I/O cycles
s Single-step trap
s Task-switch trap
The following events are considered debug faults that cause the
processor to generate an Interrupt 01h exception:
s Enabled breakpoints for instruction execution
s BD bit in DR6 set to 1
Interrupt 03h. The INT 3 instruction is defined in the x86
architecture as a breakpoint instruction. This instruction
causes the processor to generate an Interrupt 03h exception.
This exception is a debug trap because the debugger is called
following the execution of the INT 3 instruction.
The INT 3 instruction is a one-byte instruction (opcode CCh)
typically used to insert a breakpoint in software by writing CCh
to the address of the first byte of the instruction to be trapped
(the target instruction). Following the trap, if the target
instruction is to be executed, the debugger must replace the
INT 3 instruction with the first byte of the target instruction.
246
Test and Debug
Chapter 12