aboutsummaryrefslogtreecommitdiff
path: root/asm/blinkdelay2/dat.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/blinkdelay2/dat.h')
-rw-r--r--asm/blinkdelay2/dat.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/asm/blinkdelay2/dat.h b/asm/blinkdelay2/dat.h
new file mode 100644
index 0000000..5aed9cc
--- /dev/null
+++ b/asm/blinkdelay2/dat.h
@@ -0,0 +1,25 @@
+/* Data Registers */
+.equ PORTB, 0x05
+.equ PORTB0, 0
+.equ PORTB1, 1
+.equ PORTB2, 2
+.equ PORTB3, 3
+.equ PORTB4, 4
+.equ PORTB5, 5
+.equ PORTB6, 6
+.equ PORTB7, 7
+/* Data Direction Registers */
+.equ DDRB, 0x04
+.equ DDRB0, 0
+.equ DDRB1, 1
+.equ DDRB2, 2
+.equ DDRB3, 3
+.equ DDRB4, 4
+.equ DDRB5, 5
+.equ DDRB6, 6
+.equ DDRB7, 7
+/* Stack */
+.equ SPL, 0x3d
+.equ SPH, 0x3e
+/* Status Register */
+.equ SREG, 0x3f