Search:

Type: Posts; User: matsp

Search: Search took 0.06 seconds.

  1. Replies
    66
    Views
    11,605

    All good points. I would also like to point...

    All good points.

    I would also like to point out that if a function takes more than three or four parameters and you think "Oh, well, if I make X a global, I don't have to pass it around so much"...
  2. Replies
    66
    Views
    11,605

    It may do, but if it wants to use the register...

    It may do, but if it wants to use the register for another reason it will then have to SAVE the register and restore it again when it returns from the function (but then it probably would have to do...
  3. Replies
    66
    Views
    11,605

    In a previous discussion about global variables...

    In a previous discussion about global variables and registers, the global register option (which by the way is not supported by the C standard - it is a gcc extension to allow this) did not only...
Results 1 to 3 of 3