??? 09/20/06 17:22 Read: times |
#124697 - that is very relevant Responding to: ???'s previous message |
one question to all assembly language programmers>>>>why to argue on use of global variables when every variable declared in asm programs are global??? As in some post above members talked about pros and cons of global variables....so if some one migrated from asm to c then it should`nt pose any problem in using global variables as he is coming from a world where every variable was global...its just a thought
No Cidiot will have the chance of a tailor in hell using global variables, the mindset is not there. Howevere with a good background in assembly using globals becomes something you know how to. Does that mean use globals without any concern? absolutely not! It means you have the sense to use globals where there is an advantage to doing so. So, prefer locals, but if a global works better and you kinow what you are doing (no Cidiot does) GO FOR IT. Erik Cidiot: the one who states: "I know nothing but C (and maybe some other HLLs) I need not know the chip, I need not know any assembly" |