[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #18565] Trouble with memset
From: |
anonymous |
Subject: |
[avr-libc-dev] [bug #18565] Trouble with memset |
Date: |
Wed, 20 Dec 2006 12:56:22 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; pl; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9 |
URL:
<http://savannah.nongnu.org/bugs/?18565>
Summary: Trouble with memset
Project: AVR C Runtime Library
Submitted by: None
Submitted on: Wednesday 12/20/2006 at 12:56 UTC
Category: Library
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: None
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
When type line:
memset((uint8_t*)0x4000, 0, 0x4000);
compiler return assembler code like this:
ldi r30, 0x00
ldi r31, 0x40
st Z+, r1
sbiw r30, 0x01
brne .-6
so this code loop forever.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?18565>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avr-libc-dev] [bug #18565] Trouble with memset,
anonymous <=