Skip to main content
tkjmail2
Associate III
April 3, 2010
Question

Constants at a specific adress?

  • April 3, 2010
  • 11 replies
  • 1919 views
Posted on April 03, 2010 at 18:36

Constants at a specific adress?

    This topic has been closed for replies.

    11 replies

    Andrew Neil
    Super User
    May 17, 2011
    Posted on May 17, 2011 at 13:46

    ''I have to make it volatile!''

    Funnily enough, a similar point has just turned up at

    http://www.8052.com/forum/read/174991

    ''my

    guess

    is that, without 'volatile', the compiler may decide not to read the ROM at all, but to use ''immediate'' data instead...''

     

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.