Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/16/02 13:18
Read: times


 
#27338 - RE: What is ugly and what not in assembl
A good programming practice in most programming languages (including assembler) would be to analize the program as a whole and then detect repetead pieces of code that could be candidates to be part of soubrutines.
In the example you've posted, I would have done the same as Peter said, or if that code appears several times, I would go one step further: I would do a soubrutine called 'clrmem' with 2 parameters, a memory location and a length counter, that would clear any buffer with any length.

Pablo.

List of 32 messages in thread
TopicAuthorDate
What is ugly and what not in assembly?            01/01/70 00:00      
RE: What is ugly and what not in assembly?            01/01/70 00:00      
RE: What is ugly and what not in assembly?            01/01/70 00:00      
RE: What is ugly and what not in assembly?            01/01/70 00:00      
RE: What is ugly and what not in assembly?            01/01/70 00:00      
RE: What is ugly and what not in assembly?            01/01/70 00:00      
RE: What is ugly and what not in assembl            01/01/70 00:00      
RE: What is ugly and what not in assembl            01/01/70 00:00      
RE: What is ugly and what not in assembl            01/01/70 00:00      
RE: What is ugly and what not in assembly?            01/01/70 00:00      
Useage of nops            01/01/70 00:00      
RE: Useage of nops            01/01/70 00:00      
RE: What is ugly and what not in assembly?            01/01/70 00:00      
RE: What is ugly and what not in assembly?            01/01/70 00:00      
RE: What is ugly and what not in assembly?            01/01/70 00:00      
RE: What is ugly and what not in assembly?            01/01/70 00:00      
Nic, sorry you don't like my            01/01/70 00:00      
RE: Nic, sorry you don't like my            01/01/70 00:00      
RE: What is ugly and what not in assembly?            01/01/70 00:00      
What Nic didn't say            01/01/70 00:00      
RE: What Nic didn't say            01/01/70 00:00      
RE: Nic, sorry you don't like my            01/01/70 00:00      
RE: What is ugly and what not in assembly?            01/01/70 00:00      
RE: What is ugly and what not in assembl            01/01/70 00:00      
Apology gladly accepted            01/01/70 00:00      
RE: Apology gladly accepted            01/01/70 00:00      
RE: What Nic didn't say, keith            01/01/70 00:00      
RE: What is ugly and what not in assembl            01/01/70 00:00      
RE: John Deans            01/01/70 00:00      
RE: What is ugly and what not in assembl            01/01/70 00:00      
RE: Erik            01/01/70 00:00      
RE: Ijaz            01/01/70 00:00      

Back to Subject List