From 90a4d4a1353dd7b514fe4ef10c1ed2c6f24cadbe Mon Sep 17 00:00:00 2001 From: justanothercatgirl Date: Sun, 11 May 2025 22:21:06 +0300 Subject: temp commit --- timer.s | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'timer.s') diff --git a/timer.s b/timer.s index 94e97ae..c62b2b5 100644 --- a/timer.s +++ b/timer.s @@ -1,22 +1,4 @@ -.equ PINB, 0x03 -.equ DDRB, 0x04 -.equ PORTB, 0x05 -.equ PIND, 0x09 -.equ DDRD, 0x0A -.equ PORTD, 0x0B -.equ TIFR0, 0x15 -.equ ADDR, 0x256 -.equ SPL, 0x3D -.equ SPH, 0x3E -.equ SREG, 0x3F -.equ TCCR0A, 0x0024 -.equ TCCR0B, 0x0025 -.equ TCNT0, 0x0026 -.equ OCR0A, 0x0027 -.equ TIMSK0, 0x006E -.equ STOFL, 0xFF -.equ STOFH, 0x08 -.equ TOIE0, 1 +.include "def.s" .equ LOC, 0x128 .equ FREQ, 0x80 @@ -71,7 +53,6 @@ tmrint: eor r20, r20 .stt: sts LOC, r20 -.exit: pop r21 pop r20 pop r19 @@ -94,7 +75,6 @@ main: sts ADDR, r1 rjmp .loop .finloop: - in r13, PINB in r14, PORTB @@ -107,4 +87,3 @@ main: rjmp main - -- cgit v1.2.3-70-g09d2