The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

New hacker term: Frankenware by SnappingTurtle2004-09-22 10:28:23
  Hmm... refined: by Scirocco2004-09-22 10:30:30
    Hmm... (2) by karaken122004-09-22 10:45:35
      and how about by dennismv2004-09-22 11:34:26
        That's not spaghetti code! by Avium2004-09-22 13:19:15
          straight-through coding by dennismv2004-09-22 14:37:40
            It depends on whether you use -fomit-frame-pointer by bwkaz 2004-09-22 15:45:05
or not. If you use it, then the overhead is smaller (a CALL and RET instruction per function call, plus instructions to push the arguments onto the stack, plus instructions to save and restore clobbered registers).

If you don't use it, then you get the CALL & RET (plus the argument instructions, plus the register saving), plus 3 instructions to save the frame pointers (push %ebp, then copy %esp into %esp, then at the end of the function, restore %ebp).

This combination can be replaced by an ENTER instruction on 286s and higher, and then the restore-%ebp at the end can be replaced by a LEAVE. But those will have about the same instruction counts (close, at least).
[ Reply ]
              wow by dennismv2004-09-22 17:43:05
              One major downside to that. by Avium2004-09-22 19:24:29

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)