Subject:
|
RE: RCX "locking up" when trying to use dll
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 11 Jan 2000 20:31:26 GMT
|
Viewed:
|
1498 times
|
| |
| |
Ben Jackson wrote:
> 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:
<Snipped disassembly showing exactly what the bug is...>
WOW! Good catch Ben! I have recently been looking through some disassembly
on a totally unrelated topic and have found a bug in an unnamed commercial
compiler. But of course I had a debugger and the high-level C code was not
doing its thing properly, so I at least had a clue of where to look!
What prompted you to look at memcpy? I'm curious because I like detective
stories related to embedded systems...
Cheers,
Ralph Hempel - P.Eng
------------------------------------------------------
The train stops at the train station,
The bus stops at the bus station,
So why am I sitting at a work station?
------------------------------------------------------
Reply to: rhempel at bmts dot com
------------------------------------------------------
|
|
Message has 1 Reply: | | Re: RCX "locking up" when trying to use dll
|
| (...) I built the H8/300 binutils-2.9.1 and gcc-2.95.2 and compiled the legOS kernel and it was locking up when downloading programs. People here said get egcs-1.1.2 -- it works! So I built egcs-1.1.2 and cd'd to legOS/boot, make clean/make and the (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
|
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
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|