Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Timer1 error

2007-11-21 by twrokspit

Hi. Everyone

I have an error reading the TCNT1L, TCNT1H from the 16-bit counter, im 
using the ICP1 and when this causes an interruption the High and Low 
bits of the counter must be read.

When i try to assemble the project i got i message which says

operand 2 out of range and gives me the address of the counter registers

in r6,TCNT1L
in r7,TCNT1H

I will acknowledge any help

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.