Shouldn't invalid references like this fail at compile time?

Walter Bright newshound2 at digitalmars.com
Thu Jan 25 04:45:34 UTC 2018


On 1/24/2018 8:31 PM, Mike Franklin wrote:
> On Thursday, 25 January 2018 at 04:01:47 UTC, Mike Franklin wrote:
>> "The initial stack pointer and the address of the reset handler must be 
>> located at 0x0 and 0x4 respectively." 
> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0179b/ar01s01s01.html 


"These values are then loaded into the appropriate CPU registers at reset."

This implies a ROM must be located there. Else how do initial values get there?


More information about the Digitalmars-d mailing list