[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #27198] avr/iox128a1.h is missing definitions for ca
From: |
Simon Küppers |
Subject: |
[avr-libc-dev] [bug #27198] avr/iox128a1.h is missing definitions for calibration signature indexes |
Date: |
Fri, 07 Aug 2009 11:05:20 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729) |
Follow-up Comment #3, bug #27198 (project avr-libc):
First, as I already said Im not so much into inline-assembler.
What comes to the nt's I don't know who converted it from nt to nt on the
long way of copy and pasting. In the text file it's correct.
I also haven't found a way to use ZH/ZL instead of r30, r31.
In this line
"ldi %[Idx], %[Rd]"
I just needed a temporary Register to copy the NVM_CMD_READ_CALIB_ROW_gc. So
i used this register. I almost believe that there is a better solution, which
is easier to understand.
The constraints I got from a German page
(http://www.rn-wissen.de/index.php/Inline-Assembler_in_avr-gcc).
It says "r" for any register, M for an 8 Bit Constant, m for a memory address
(I believe?) and d for an upper register. So I think anything should be fine,
but Im open to tips or hints.
I've already tested the assembly within the attached text-file and it works
so far. I can read all calibration row entries.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27198>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/