^^
treg);
}
OVER HERE ->>>>>--^
Either I'm missing something here, or someone needs to explain to me why
a test for AVR_HAVE_RAMPZ preceeds the use of AVR_HAVE_RAMPD in the code.
Shouldn't that last one a
uot; AVR feature.
Best regards,
Bruce
On 12/17/2021 5:39 AM, Ian Molton wrote:
I think you misunderstood me;
I know this is where the compiler will save RAMPZ where needed.
So why is it referencing RAMP *D* ?
On 17/12/2021 00:50, Bruce D. Light
E_RAMPD looks shady to me?
Anyone with deeper knowledge want to have a look?
-Ian
--
*Bruce D. Lightner*
*Lightner Engineering*
8551 La Jolla Shores Drive
La Jolla, California 92037-3044
Mobile/SMS: +1-858-228-7579
Voice: +1-858-551-0770 ext. 2
Email: light...@lightner.net
URL: http://w
tion model. Ask me how I know! :-)
Later AVR microcontrollers with hardware support for divide added a
status bit to SREG that needed to be saved/restored. That's one of the
reasons one needs to set the "machine type" correctly when using avr-gcc.
Best regards,
Bruce D. Lightner
L
s and class nonsense. [FLAME OFF!]
BTW: I suggest that you quit while you're ahead---but David and I
somehow know that you won't! :-)
Best regards,
Bruce D. Lightner
Lightner Engineering
La Jolla, California
light...@lightner.net
https://www.linkedin.com/in/brucedlightner/
313 if the 'C' blows out, I guess.
Erik
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list
--
*Bruce D. Lightner*
*Lightner Engineering*
8551 La Jolla Shores Drive
La Jolla, California 92037-3044
Mobile/SMS: +1-858-228-7579
Vo
). Experiments show that returning 0 is
what triggers the bad behavior. This bad example takes 6 AVR
instructions to do the work of one sbic instruction.
Best regards,
Bruce
--
Bruce D. Lightner
Lightner Engineering
La Jolla, California
Voice: +1-858-551-4011
FAX: +1-858-551-0777
Email: [EMAIL PROTECTED
\Software\Free Software Foundation\WinAVR\WinAVR_20060421\BINUTILS
HKLM\Software\Free Software Foundation\WinAVR\WinAVR_20060421\G++
As I've noted, that's how Microsoft does it, no doubt for good reasons.
Best regards,
Bruce
--
Bruce D. Lightner
Lightner Engineering
La Jolla, California
Voice: +1
will have to
answer. I'm guessing that there is already WinAVR-specific code there
anyway if the Windows registry is being used.
Best regards,
Bruce
--
Bruce D. Lightner
Lightner Engineering
La Jolla, California
Voice: +1-858-551-4011
FAX: +1-858-551-0777
Email: [EMAIL PROTECTED]
URL: http
maiden
name?). I've posted a ZIP file here too...
http://www.lightner.net/avr/bootstap/ARCbootloader.zip
Best regards,
Bruce
--
Bruce D. Lightner
Lightner Engineering
La Jolla, California
Voice: +1-858-551-4011
FAX: +1-858-551-0777
Email: [EMAIL PROTECTED]
URL: http://www.lightner.net/lightner
rocontroller family? If there
is more than one TEMP register, can one in fact write code to
save/restore TEMP inside an ISR? [Hint: Unlikely!]
Best regards,
Bruce
--
Bruce D. Lightner
Lightner Engineering
La Jolla, California
Voice: +1-858-551-4011
FAX: +1-858-551-0777
Email: [EMAIL PROTEC
"special"?
Maybe an automatic code-generation "regression test" for this is
needed, assuming that will get the problem fixed in a future "avr-gcc"
release? This particular code generation bug has been in "avr-gcc"
for literally years now! I'd be happy to provide s
to include version.o in the $(OBJ)
list. If you do, then remove the reference to version.o from the above
link $(CC) command.
Anyway, this make logic causes the build_time string to be updated
*only* when the program is actually linked.
Best regards,
Bruce
--
Bruce D. Lightner
Lightner Engineering
absolutely have to include version.o in the $(OBJ)
list. If you do, then remove the reference to version.o from the above
link $(CC) command.
Anyway, this make logic causes the build_time string to be updated
*only* when the program is actually linked.
Best regards,
Bruce
--
Bruce D. Lightner
Anton Erasmus wrote:
Would love to use these Macros, but whenever I try to use __DATA__
for example, the compiler complains that :
error: `__DATA__' undeclared (first use in this function)
Are these macros been introduced so recently in gcc that my sliiighlty
old 3.4.3 version doesn't
to flame away... I'll give you (all) the courtesy of *not*
flaming you back! :-)
Best regards,
Bruce
--
Bruce D. Lightner
Lightner Engineering
La Jolla, California
Voice: +1-858-551-4011
FAX: +1-858-551-0777
Email: [EMAIL PROTECTED]
URL: http://www.lightner.net/lightner/bruce
16 matches
Mail list logo