Subject:
|
Re: RCX "locking up" when trying to use dll
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 11 Jan 2000 20:42:34 GMT
|
Viewed:
|
1445 times
|
| |
| |
In lugnet.robotics.rcx.legos, Ben Jackson writes:
>
> I'll work on the gcc bug report.
Actually I won't, since I just read memcpy.c and I see it's an __asm__ macro.
I don't know if that's a valid __asm__ or not. In this case, if it's causing
legOS pain, memcpy.c should just be replaced by memcpy.s with the correct
assembly (which is shorter anyway!).
--Ben
|
|
Message is in Reply To:
| | Re: RCX "locking up" when trying to use dll
|
| (...) It's actually in the library. I just found it. Here is a disassembly of a correct memcpy.o, as built by egcs-1.1.2: 00000000 <_memcpy>: 0: 0d 13 mov.w r1,r3 2: 09 23 add.w r2,r3 4: 1d 13 cmp.w r1,r3 6: 47 00 beq .0 (8) 8: 6c 1a mov.b @r1+,r2l (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
|
11 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|