Ok, I was trying to do a few things with the number 10000 in asm, but I keep getting errors. Now, I noticed that when the compiler does something, let's say set's a regiser to 10,000 it does this
is that the fastest way to set 10,000 to r2? And, why can't I simply use a move funtion? Thanks for any info you have.
[edit]
Oops, Just noticed that the title said threas, instead of thread.
- Code:
mov r3, #0x27, 24 ; 0x2700 = 9984
orr r2, r3, #0x10 ; 0x10 = 16
is that the fastest way to set 10,000 to r2? And, why can't I simply use a move funtion? Thanks for any info you have.
[edit]