Brian C. Lane <brian@...> schrieb am Thu, 25 Aug 2005 17:01:14 -0700: I strongly suggest to read ARM ARM (Architecture Reference Manual). > > That's what I suspected. How big of a number can you fit into a single > MOV? 8 Bits anywhere within 32bit. Means e.g.: mov r1,#255 mov r1,#0xff00 mov r1,#0xff0000 > Another related question - what's the difference between a LDR and a > MOV? I understand the LDRH and LDRB for 16 and 8 bit loads, but don't > see why there is a MOV if a LDR does the same thing? ARM is RISC and has a Load/Store architectur. MOV = between registers. LDR/STR = register <=> memory (or memory mapped peripherals !) Again, get ARM ARM and read it, it's worth it, and you get answers faster :-) If you still have questions, come back. But I also suggest to google comp.sys.arm, many question have been answered there. -- 42Bastian Schick
Message
Re: [lpc2000] Beginner questions
2005-08-26 by 42Bastian Schick
Attachments
- No local attachments were found for this message.