Post Created date
C code meets assembler - And falls down
david.prentice wrote:You claim that your ASM function 'works'. I do, and it did. It worked fine talking to the other AVRs - What it didn't do was speak USB. Quote:I am sceptical...
Tuesday, 5 April 2011 - 12:02
C code meets assembler - And falls down
clawson wrote: Agree entirely. I think the only "regular" topic here where Asm seems the only choice is the already mentioned video generation - where every single cycle counts (...
Tuesday, 5 April 2011 - 11:42
C code meets assembler - And falls down
david.prentice wrote: You devise a test suite. You devise a set of input data. You specify the expected output. You run the test suite. You discover 'where' and 'how' your code...
Tuesday, 5 April 2011 - 11:33
C code meets assembler - And falls down
david.prentice wrote:I would assume that you are controlling some sort of hardware by reading / writing bits in PORTB and PORTE. I am. I'm controlling another AVR. I mentioned...
Tuesday, 5 April 2011 - 08:10
C code meets assembler - And falls down
And just to add to the philosophical arguments, I'll throw in this hypothesis: The higher-level the language is, the easier it is to write really atrocious code. Laying down...
Tuesday, 5 April 2011 - 06:45
C code meets assembler - And falls down
OP here again, if I'm still relevant... 8) 1st) Keep in mind the whole thing is a heavily edited version of the 'DualVirtualSerial' device from LUFA. I've whacked out one...
Tuesday, 5 April 2011 - 03:50
C code meets assembler - And falls down
david.prentice wrote:I am trying to be helpful. Does the polarity of your 'toggle' matter to you? Are you concerned about RMW or execution speed? David. I would like to say...
Monday, 4 April 2011 - 16:32
C code meets assembler - And falls down
Hey, if the chicks with the plastic tits dig it, I'm all for obfuscation. I'd like to ask you nicely - be helpful, or go away. Scroungre.
Monday, 4 April 2011 - 15:51
C code meets assembler - And falls down
david.prentice wrote:I cannot understand what part of any C generated code will fail. I can. It gives crap results where the assembler code works. Your understanding hasn't met...
Monday, 4 April 2011 - 15:41
C code meets assembler - And falls down
Or, alternately, give me lots more hints on inlining assembler code that accesses the SRAM. S.
Monday, 4 April 2011 - 15:38
C code meets assembler - And falls down
clawson wrote:Quote: I was told that writing code in C would be quicker than writing code in assembler. That only works if you are equally proficient in both C and Asm. That's...
Monday, 4 April 2011 - 15:31
C code meets assembler - And falls down
theusch wrote:Then why didn't you translate it directly? That's what I was trying to do. It didn't work. What did I do wrong? :?: S.
Monday, 4 April 2011 - 15:24

Pages