Hello all, I'm new to the 68hc11 and have a CME11E9-EVBU from axiom. I don't want to work in assembly(no experience) but am having a realy hard time getting...
... You'll need at least the memory map and startup mode for the board. I don't have one of those boards, but I do have a handyboard with which I've done a LOT...
... Hi, I've got good experience with gnu but not on HC11 (I only did assembly with that)... ... The big problem I see is that you have no Assembly experience....
I am interfacing the HC11 with a sensor. The sensor will output a frequency between 0 to 120000, depending on the reading. To obtain the actual result, I must...
... You are asking how to get the C compiler to emit code which violates the C Standard. If you divide one positive integer by another, and the denominator is...
Mike McCarty
Mike.McCarty@...
Sep 7, 2007 11:20 pm
8960
I had originally planned on doing a fixed point arithmetic. But, I noticed that by using FDiv, I would have 16 bits of accuracy (excessive, I know), but it's...
... As I stated, it can't be done in C. However, you could drop into assembler. Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} ...
Mike McCarty
Mike.McCarty@...
Sep 10, 2007 6:02 am
8963
Thank you! I will try this approach in the future. Right now I need to address other issues before I can get to this point. ... "a", ... never ... want a...
I've struggled with this since the beginning, but does everybody who uses something from newlib get this "impure_data" structure to eat up RAM for them? There...
... Perhaps you'll find this useful: http://venus.billgatliff.com/node/3 (Google is your friend. Try it.) ... Apparently, it is used to create reentrant or...
Mike McCarty
Mike.McCarty@...
Sep 12, 2007 4:10 pm
8967
... Sorry I was misleading... I remember now that it is reentry data, and is pretty important to certain functions. I remembered how to get rid of it, but that...
... As part of the follow-up, I don't think any of my libc calls writes to the impure_data. It was only initializing values because "impure.o" from libc.a is...
... There are some ways which come to mind... (1) use strings on the .o files (or .a files) and grep for impure_data (2) use some sort of objdump program and...
Mike McCarty
Mike.McCarty@...
Sep 13, 2007 6:34 am
8970
... example. ... Hi Triffid, Thanks for the tip. I've tried to do what you've suggested, however it doesn't seem to work, at least not like I've anticipated....
... There had better be others; yours are hopeless or incomplete. (1) when dumping strings from libc.a, how did you expect to know which function/module was...
... I would use ar to extract the .o from it first. I suppose I just presumed one would know that ... Umm, I didn't specify "objdump". I was intentionally...
Mike McCarty
Mike.McCarty@...
Sep 13, 2007 8:12 pm
8973
On Thu, 13 Sep 2007 23:45:44 +1000, zsilinszkyz <zsilinszkyz@...> ... sounds like you're not telling the linker what's actually going on. Wasn't aware...
Hey Mike, thanks and I should say that your responses always contain information for me. Sometimes it gives me something to go on, and sometimes at least it...
... Welcome... [snip] ... Why I qualified it with "some sort of..." :-) ... At the time it seemed like enough detail. So, now I guess it wasn't enough. ... No,...
Mike McCarty
Mike.McCarty@...
Sep 14, 2007 7:39 pm
8976
Mike McCarty wrote: [snip] ... Of course, I got the arguments to grep REVERSED! $ grep "In function" build_err.txt | sort | uniq > needs_impure_ptr.txt Sheesh!...
Mike McCarty
Mike.McCarty@...
Sep 14, 2007 8:18 pm
8977
... [...] ... Oh, *that* kind of guess... ... I'm not as interrested in writing a newlib test application, now that I can get the info from my own apps. Tons...
This compiler optimization is crazy. If I want certain 'if' statement (see below) to be optimized as it used to be in release 2.2, I can do it by writing more...
... Wasn't ... some more ... Hi, Sorry, I meant section. Still, the ld -R description talks about absolute addresses (and in the dump these are indeed marked...
Hello, all, and please forgive my ignorance. I'm trying to migrate an HCS12 project to gcc (from CodeWarrior -- yes, we're in dongle hell) and I've spent the...
... I write in gcc c with calls to assembly (especially for I/O) and I've looked at a lot of gcc generated code. I have not looked at Code Warrior generated ...
... [...] I'm sorry because I know that it is especially dificult to port an app from CW (and probably others) to GCC. I found that the best way to learn GCC...
Hi Jeff, I am also facing the same issue. Very, very strange "optimization" when we have such a good instructions as BRCLR .... Did you found some answers...