jayasooriah <jayasooriah@...> schrieb am Fri, 03 Feb 2006 05:39:02 -0000: > Hello, > > I do not have my ARM-ARM with me anymore and I am hoping someone here > can help answer the following question. > > If word @0 is 0x12345678, word at @4 is 0, and r0 contains 1, what > should be the contents of r0 (and r1) after executing "ldr r1, [r0], #4"? ldr from 1 is undefined, on most ARM I saw you get 0x12345600 or an abort. So the contents of r0 is as well undefined. From heart: ldr rn,[rm],#x : rn = *rm; rm += x; -- 42Bastian Schick
Message
Re: [lpc2000] ARM-ARM question
2006-02-03 by 42Bastian Schick