Post Created date
2's complement in assembly?
That would fix the compatibility issue, but it wouldn't produce faster nor smaller code... (+1 words)
Wednesday, 6 February 2008 - 19:46
I/O pullup ohm value
Well, I need 5k pullup, so I guess i will need an external pull-up anyways EDIT: Yeah I found it under the typical characteristics, it's 25k, so I will need an external one....
Monday, 28 January 2008 - 15:28
C Calling convention?
Well yeah, I rewrote yesterday just out of curiosity the functions in C, and the results were: heap_init - optimezed perfectly, 22 bytes, as the assembly free - +10 bytes, 92...
Friday, 25 January 2008 - 15:26
C Calling convention?
Well now... That... Umm... sucks... Can we call this a bug? :D Yet another issue... Is there a way to make an assembly routines way into the initialization part of the C code?...
Friday, 25 January 2008 - 13:51
C Calling convention?
Hmmm... nope.... With a C tester compiled in I get: Sections: Idx Name Size VMA LMA File off Algn 0 .text 000001d4 00000000 00000000...
Friday, 25 January 2008 - 12:11
C Calling convention?
Quote:Have you checked to see whether you are getting things like .noinit.1 and .noinit.2? Uh no, but how do I do that? Anyways, I noticed something odd. I am using my own...
Thursday, 24 January 2008 - 21:54
C Calling convention?
Yeah at first it was like this: .section noinit .comm HEAP, HEAP_SIZE But at your suggestion I also tried with .noinit, but still the same .section .noinit .comm HEAP,...
Thursday, 24 January 2008 - 21:24
C Calling convention?
Is there a section that would not get initialized? (even tried .noinit, but it gets initialized... wierd)
Thursday, 24 January 2008 - 00:28
C Calling convention?
No actually asm does declare anything unknown as external, so there wasn't a problem there, my problem was using them in macros.... So now I have to make a choice: 1. I will have...
Wednesday, 23 January 2008 - 22:46
C Calling convention?
Okay, I have now done almost anything, my code kinda works okay, but I have to supply the HEAP_SIZE define on the command line which is kinda uncomfortable. I would like the...
Wednesday, 23 January 2008 - 21:29
C Calling convention?
So you are suggesting to use the HEAP as an external object... That would be okay, but there is one more problem to this: I also need to know the size of the heap during compile...
Wednesday, 23 January 2008 - 15:56
C Calling convention?
Well yeah, I know many of you don't understand why I am doing this, well I agree that I am inventing the wheel, but that's a way to learning to combine C and assembly, and this is...
Wednesday, 23 January 2008 - 00:40