Go to Triangle Digital Support Home Page TDS2020F TECHNICAL MANUAL
Programming
Interrupt jump table
Live website search
Enter key words
 

INTERRUPT JUMP TABLE

Each entry has 3 bytes so that a jump can be placed there. By default all are set to hex 0A (Return from Exception) except the four noted with . The word +ORIGIN is used in software in preference to an absolute address so that the correct value will be returned on either the normal TDS2020F or with the TDS2020DV and Forth version 4.xxDV:

 

-114 +ORIGIN

gives hex 8812 on Forth version 4.xx

-114 +ORIGIN

gives hex 4012 on Forth version 4.xxDV

 

+ORIGIN

 

V4.xxDV

V4.xx

Function

 

-132

 

4000

8800

Not presently used

 

-129

4003

8803

Invalid instruction

 

-126

 

4006

8806

Divide by 0 (DIVXU,)

 

-123

 

4009

8809

Trap on overflow (TRAP/VS,)

 

-120

400C

880C

Address error

 

-117

 

400F

880F

Trace

 

-114

 

4012

8812

Unidentified NMI

 

-111

 

4015

8815

Trap 0 (TRAPA # 0)

 

-108

 

4018

8818

Trap 1 (TRAPA # 1)

 

-105

 

401B

881B

Trap 2 (TRAPA # 2)

 

-102

 

401E

881E

Trap 3 (TRAPA # 3)

 

-99

 

4021

8821

Trap 4 (TRAPA # 4)

 

-96

 

4024

8824

Trap 5 (TRAPA # 5)

 

-93

 

4027

8827

Trap 6 (TRAPA # 6)

 

-90

 

402A

882A

Trap 7 (TRAPA # 7)

 

-87

 

402D

882D

Trap 8 (TRAPA # 8)

 

-84

 

4030

8830

Trap 9 (TRAPA # 9)

 

-81

 

4033

8833

Trap 10 (TRAPA #10)

 

-78

 

4036

8836

Trap 11 (TRAPA #11)

 

-75

 

4039

8839

Trap 12 (TRAPA #12)

 

-72

 

403C

883C

Trap 13 (TRAPA #13)

]

-69

 

403F

883F

Trap 14 (TRAPA #14)

] Multitasker

-66

 

4042

8842

Trap 15 (TRAPA #15)

]

-63

 

4045

8845

IRQ0

 

-60

 

4048

8848

IRQ1

 

-57

 

404B

884B

FTR1 ICI

]

-54

 

404E

884E

FRT1 OCIA

] Timer 1

-51

 

4051

8851

FRT1 OCIB

]

-48

 

4054

8854

FRT1 FOVI

]

-45

 

4057

8857

FTR2 ICI

]

-42

 

405A

885A

FRT2 OCIA

] Timer 2

-39

 

405D

885D

FRT2 OCIB

]

-36

 

4060

8860

FRT2 FOVI

]

-33

 

4063

8863

FTR3 ICI

]

-30

 

4066

8866

FRT3 OCIA

] Timer 3

-27

 

4069

8869

FRT3 OCIB

]

-24

406C

886C

FRT3 FOVI

]

-21

 

406F

886F

CMIA

]

-18

 

4072

8872

CMIB

] 8-bit timer

-15

 

4075

8875

OVI

]

-12

 

4078

8878

ERI

] SCI

-9

 

407B

887B

RXI

]

-6

 

407E

887E

TXI

-3

 

4081

8881

A/D

+1

4085

8885

Internal watchdog

Go to Triangle Digital Support Home Page Go to top   Next page