... Anything with thumb in is means that the library code is thumb code. Anything with interworking in it means that the code can be called from both thumb and...
As long as we are on the topic of interworking, do we need interworking on our ARM code in order to call Thumb code and our Thumb code to call ARM? Glen...
... what does the option `-e 0x0' mean? cannot find in the manual. ... http://www.codesourcery.com/gnu_toolchains/arm/faq.html#c_ABI says: Is it possible to...
... the entry point is at 0x0 ... I tried this before posting; I'll try again. ... This screw i knew before already; I kept using '-mabi=apcs-gnu' but I have...
I use WinARM from Yagarto (gcc 4.1.1) I tried with this sample file: int main(void) { int a; a = 3; return 0; } compile with: arm-elf-gcc -c -mcpu=arm7tdmi...
Dear all I'm really newbie using cross tools for ARM processor, so please, sorry if I'm doing some stupid question. I'm building an application to be run on...
According to a recent document on the ARM website (see quote and reference below) the GNU ARM toolchain does not support the standard ARM EABI. This would...
Sorry, but you haven't answered you own question ? The Codesourcery GNU toolchain *is* a version of the GNU ARM toolchain configured to comply with EABI. It's...
I am trying to write some assembly, but when I try to load any of the registers with a constant number bigger than 131072 I get an error. arm-elf-as -ahls...
... From the ARM Architecture Reference Manual (ARM ARM): Data-processing operands - Immediate ... Legitimate immediates Not all 32-bit immediates are...
... chip. ... formed by ... 131073 ... to load ... the literal ... the ... Thank you. Now I'm doing something else wrong... What I'm trying to do here is load...
Hi group, I want to measure code-coverage of hello-world.c To compile I use the options '-g -ftest-coverage -fprofile-arcs' 1. using 'gcc' and 'gdb' I get both...
I have noticed how Rowley, IAR and other such compilers have handy ways of doing bitwise operations. Such as: BCFG2_bit.WST1=8; While to do the same thing with...
I use so many different processors and compilers I have found that it is best to create your own bit set/clear macros. #define BIT_SET(x,n) (x=x | (0x01<<n)) ...
... Stay away from the first form. There lie dragons. Bitfields are seductive but dangerous when used for I/O. You can macroize the set form if you like....
... I've found it handy to create a macro like: #define bit(n) (1<<n) And then for bit fields: #define BITFIELD1 bit(0) #define BITFIELD2 bit(1) and then: ...
... Most of the comments have been about dealing with single bits, while the original question was about a multi-bit field. I assume gcc supports multi-bit...
... Note that bitfields are signed, for a one bit bitfield 1 is technically out of range, it does wrap around as expected though. That's one of the dragons I...
... Bitfields are signed by default, just like "int", but a quick look doesn't show any requirement that they be signed, nor any restriction on explicitly...
... It does mean though that by default with a 1 bit bitfield (say x.y) the following always evaluates to false x.y == 1 not what many people expect. ... ...
... I can't resist, I have to add my one: Bitfields are defined in terms of integers, but check out the gcc assembler a bitfield generates on an x86, it uses...
HI ALL, I am new bie to arm controller. I have LPC2138 board of ARM7 controller. i have unzip winarm pakage. i have open pn editor. I have even write simple...