Address Data 21 0 x 0430 22 Pointer to function 23 0 x 04 A 0 24 Pointer to function 25 Pointer to function
x 0021 Print to display x 0023 Read from keyboard x 0025 Halt Setup interrupt ถาเกด นทนท interrupt ใหมาทำ x 0100 Privilege mode violation x 0101 Illegal opcode x 0180 Keyboard interrupt Do something Code Segment x. FE 00 x. FE 02 x. FE 04 x. FE 06 KBSR KBDR DSR DDR INTR = Interrupt routine VECT = Vector ENAB = Enable USP = User Stack Pointer (สำหรบ interrupt ซอน interrupt) routine
ตองม Timer Interrupt สำหรบระบบปฏบตการ (OS) มาจาก PSR Processor Status Register