Started to flesh out the opcodes but am having issues with Tex packaging trying to get the xint package for hopefully converting bit patterns to a hex code.

This commit is contained in:
Garritt McCune
2024-08-21 15:38:42 -05:00
parent c8ff04050e
commit c72b77ca19
2 changed files with 23 additions and 10 deletions
+5 -3
View File
@@ -1,10 +1,12 @@
\chapter{Interrupts}
Interrupts are signals sent to the processor via the I/O pin, software interrupt (via the \hyperref[sec:int]{int} instruction) or by the processor detecting a fault (divide by zero for instance). When an interrupt occurs the processor will index the Interrupt Vector Table whose location is provided by the \hyperref[sec:livt]{livt} instruction.
\paragraph{Unknown Opcode} Interrupt 0. Pushes status flags and clears interrupts.
\paragraph{Unknown Opcode} Interrupt 0. Pushes status flags and clears interrupts. Called when an attempt is made executing a byte that is not a recognized opcode.
\paragraph{Divide by Zero} Interrupt 1. Pushes status flags and clears interrupts.
\paragraph{Divide by Zero} Interrupt 1. Pushes status flags and clears interrupts. Called when an attempt to divide any number by zero is made.
\paragraph{INT 2-31} Reserved for future use.
\paragraph{Break-point} Interrupt 2. Pushes status flags and clears the Stepping Flag. Called just before an opcode that has bit 7 set is to be executed.
\paragraph{INT 3-31} Reserved for future use.
\paragraph{INT 32-255} Open to be used by software services.