Post Created date
cli very late in gcc generated ISR code
Koshchi wrote:Quote:And I've just detected another error, it's visible in the code above ...If you mean the return statement, there's nothing wrong with that. Yes it seems so, the...
Wednesday, 23 July 2014 - 16:56
cli very late in gcc generated ISR code
clawson wrote: Then what WAS your intention of using ATOMIC_BLOCK() then? There was none, as I've written above: A cut and paste mistake. clawson wrote: You don't need...
Wednesday, 23 July 2014 - 16:51
cli very late in gcc generated ISR code
And I've just detected another error, it's visible in the code above ... :shock: :wink: (the compiler seems to 'repair' this, but it's not good code)
Wednesday, 23 July 2014 - 16:09
cli very late in gcc generated ISR code
There is no cli, no function call, no sei. At least not intentionally ;-) The -O parameter is 's': -Os But the discussion has made me aware of a code-snippet which I moved from...
Wednesday, 23 July 2014 - 15:58
atmega binary code asks me riddles
@theusch Some clarifications: You're right, I was somewhat blind concerning the toolchain: I am a linuxer through and though and hadn't thus even considered other platforms and...
Thursday, 17 April 2014 - 19:13
atmega binary code asks me riddles
Brian Fairchild wrote:emax.. wrote:...I could simply mutliply all such values by two. But this is not the complete story: I still cannot find the crucial indication for that rule...
Thursday, 17 April 2014 - 17:59
atmega binary code asks me riddles
John_A_Brown wrote:That should be fairly evident since ... What do you think I do? Make posts at random and hope they might be pertinant in some way? :D I give you just back your...
Thursday, 17 April 2014 - 17:53
atmega binary code asks me riddles
@Theusch: Ok, maybe I am too dumb, but I am still not understanding the documentation. Perhaps you can help me to find my error in reasoning. The manual states: Quote:1001 010k...
Thursday, 17 April 2014 - 17:46
atmega binary code asks me riddles
> how could you possibly say: ... because one sometimes simply needs a kick to get over a mind-barrier.
Thursday, 17 April 2014 - 17:21
atmega binary code asks me riddles
theusch wrote: ??? Say what? www.atmel.com/images/doc0856.pdf JMP instruction: Syntax: Operands: Program Counter: Stack: (i) JMP k 0 ≤k
Thursday, 17 April 2014 - 17:15
atmega binary code asks me riddles
Koshchi wrote:0x3b0 = 2 * 0x1d8 0x3d4 = 2 * 0x1ea I will leave it up to the reader as to why. Thank you Steve! I tried a lot of complicated transformations coming to my mind, and...
Thursday, 17 April 2014 - 17:13
atmega binary code asks me riddles
John_A_Brown wrote:John_A_Brown wrote:I'm fairly certain that there is a document somewhere that shows how the opcodes are constructed. Oh look! Here it is! http://www.atmel.com/...
Thursday, 17 April 2014 - 17:13

Pages