#71374 - HyperHacker - Sun Feb 12, 2006 6:07 am
I'm trying to put some ASM code into a C program for DS:
(Not complete, obviously.)
The problem is if I specify a number above 8000 (decimal) in any instruction, the assembler/gcc says it's an invalid constant. What's so invalid about it?
Code: |
__asm(".arm\n"
"mov r2,#8000\n"); |
(Not complete, obviously.)
The problem is if I specify a number above 8000 (decimal) in any instruction, the assembler/gcc says it's an invalid constant. What's so invalid about it?