aboutsummaryrefslogtreecommitdiff
path: root/src/interrupt.ts
diff options
context:
space:
mode:
authorUri Shaked2019-11-21 16:14:33 +0200
committerUri Shaked2019-11-21 16:14:33 +0200
commit79ee20ba7f17ccdbda098fb5f9c9f2356d56d88e (patch)
treeb0f4875d1a5977d20268efa74d4e692bf3a4a151 /src/interrupt.ts
parentfix: remove `start` script for package.json (diff)
downloadavr8js-79ee20ba7f17ccdbda098fb5f9c9f2356d56d88e.tar.gz
avr8js-79ee20ba7f17ccdbda098fb5f9c9f2356d56d88e.tar.bz2
avr8js-79ee20ba7f17ccdbda098fb5f9c9f2356d56d88e.zip
doc: add comment to interrupt.ts
Diffstat (limited to 'src/interrupt.ts')
-rw-r--r--src/interrupt.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/interrupt.ts b/src/interrupt.ts
index d833a3a..1c7d835 100644
--- a/src/interrupt.ts
+++ b/src/interrupt.ts
@@ -1,3 +1,11 @@
+/**
+ * AVR-8 Interrupt Handling
+ * Part of AVR8js
+ * Reference: http://ww1.microchip.com/downloads/en/devicedoc/atmel-0856-avr-instruction-set-manual.pdf
+ *
+ * Copyright (C) 2019, Uri Shaked
+ */
+
import { ICPU } from './cpu';
export function avrInterrupt(cpu: ICPU, addr: number) {