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 12:14
Read: times


 
#27329 - RE: What is ugly and what not in assembl
Hi Nic,

yes, your example look very ugly.

I would do the same in this way:



<pre>
dseg at 40h

val_size equ 8

my_val: ds val_size

cseg

mov r0, #my_val
clr_loop:
mov @r0, #0
inc r0
cjne r0, #my_val + val_size, clr_loop



Peter

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