#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Location
    Hyderabad
    Posts
    17
    Rep Power
    0

    Register Variable


    Hai all,


    A register variable can be Volatile type . If possible please give me one example.



    Suri
    Last edited by bsuribabu; January 6th, 2003 at 03:23 AM.
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,595
    Rep Power
    4207
    I don't think this is possible, by the definition of a volatile type. You can't place a volatile variable in a CPU register, because a volatile variable can be changed by an external program or an interrupt.

IMN logo majestic logo threadwatch logo seochat tools logo