[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/2626] New: Problems with LPM on attiny26
From: |
hakan at debian dot org |
Subject: |
[Bug gas/2626] New: Problems with LPM on attiny26 |
Date: |
1 May 2006 09:07:00 -0000 |
Forwarding debian bug #362270 from Terran Melconian <address@hidden>:
The attiny26 supports some forms of the LPM (load program memory)
instruction, but under certain circumstances GAS produces an incorrect
error claiming that it does not.
There are three forms of the LPM instruction. They are:
i. LPM (r0 is implied destination)
ii. LPM destreg, Z
iii. LPM destreg, Z+
(reference: Atmel AVR instruction set reference, revision 06/99, page
79)
Of these, the attiny26 supports forms i and ii but not iii.
(reference: Atmel attiny26 datasheet, revision 1477G 03/05, page 170)
avr-as will assemble form i, but refuses to assemble forms ii or iii.
Since the datasheet states that form ii *is* supported on this part, I
believe this to be a bug.
Of course it is possible that it is an error in the manufacturer's
datasheet, and that as' behavior is in fact correct, but barring
explicit information to the contrary I must assume that the
manufacturer's datasheet is authoritative.
--
Summary: Problems with LPM on attiny26
Product: binutils
Version: 2.16
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hakan at debian dot org
CC: bug-binutils at gnu dot org
GCC build triplet: i486-linux-gnu
GCC host triplet: i486-linux-gnu
GCC target triplet: avr
http://sourceware.org/bugzilla/show_bug.cgi?id=2626
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gas/2626] New: Problems with LPM on attiny26,
hakan at debian dot org <=