M68HC1x Group

Syndicate content
GNU 68HC11/HC12
Updated: 17 years 13 weeks ago

Re: Writing a function which is intended to run from RAM

Thu, 2006-10-12 00:40
... This is easiest to do in assembly. http://hc11-ide.funkmunch.net/newbrain/kernel/k_lcd.s for one example. You can also use the linker to do it, specifying
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Wed, 2006-10-11 17:55
... Certainly that's one approach. To make work correctly, it would need much more work, including making signal() actually able to attach a routine
Categories: Software

Writing a function which is intended to run from RAM

Wed, 2006-10-11 16:56
Hello, I've been using the compiler for about 3 years, and I've run into something I'm not sure how to handle. I am using the HC12D60. I'd like to write a C
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Wed, 2006-10-11 14:47
... Good thing we are developers. The idea then is that we fix it so that it can be C99 compliant, and send the "fix" (in whatever form) back to Stephane
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Wed, 2006-10-11 00:20
... Hmm. Then this is not a conforming implementation in some ways. IOW, it is not C, but rather some other language which *looks* a lot like C. [#6] The two
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Tue, 2006-10-10 23:37
... Strangely, the following symbols were not defined when I included test.c:274: error: `SIG_ATOMIC_MIN' undeclared (first use in this function)
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Tue, 2006-10-10 22:00
Mike McCarty wrote: [snip] ... AAAAKKK! Of course, I meant "this code is not uninterruptible". But you knew that. [snip] Mike --
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Tue, 2006-10-10 21:26
... Exactly. Sorry I didn't make that clear. The output code does not guarantee atomic access. It either needs to use a byte sized integer, or disable
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Tue, 2006-10-10 17:44
... I suppose you mean the compiler output and not my example source. ... Thank you for adding your explanations to the quote from the standard. It makes more
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Tue, 2006-10-10 17:06
... Mike, I beleive that you don't see it, but when you know someone is actively programming in C and you tell them to "learn the language" in this context,
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Tue, 2006-10-10 07:45
... This code violates the Standard, and is incorrect, no question. I quote the Standard... 7.14 Signal handling [#1] The header
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Tue, 2006-10-10 07:31
... [snip] ... I don't see where what I wrote is rude. If I called you stupid, or something like that, then yes. What I gave you is my best advice. Learn C. If
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Mon, 2006-10-09 22:36
... Well, here is my proof that either way, the compiler is wrong, and Mike agrees (unless of course he contradicts himself). /* JEFFS exper */ #include
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Mon, 2006-10-09 20:54
... wrote: ... Correction: typedef unsigned int word; so it is an int, but also 'unsigned'
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Mon, 2006-10-09 20:36
... In a way perhaps you are right as it would only be for certain architectures. But I doubt you have any reason why not to make it work in this compiler
Categories: Software

Re: compiler emits two 8bit access instead of one 16bit

Mon, 2006-10-09 17:38
... It looks like a source error to me, not a compiler error. ... This looks correct. You have unreasonable expectations. ... A permanent fix would be to learn
Categories: Software

compiler emits two 8bit access instead of one 16bit

Fri, 2006-10-06 22:09
This looks like a compiler problem. I need to write a 16-bit value to the EEPROM array to latch the address, but the compiler automatically turns it into two
Categories: Software