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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/20/03 13:50
Read: times


 
#48904 - RE: risc and cisc, to Peter
Responding to: ???'s previous message
Hi George,

seems, you are not familiar with the 8051.

You can also easy build a 16 bit counter loop on the 8051 with only 2 instructions:

label:

djnz r0, label
djnz r1, label


Bu my previous example works on a memory variable and not on registers.
And on memory variables the AVR need many more instructions again:

lds r24, 0x60
lds r25, 0x61
sbiw r24,1
sts 0x60, r24
sts 0x61, r25
brne label



Peter


List of 22 messages in thread
TopicAuthorDate
risc and cisc            01/01/70 00:00      
   RE: risc and cisc            01/01/70 00:00      
      RE: risc and cisc            01/01/70 00:00      
         RE: risc and cisc            01/01/70 00:00      
            RE: risc and cisc            01/01/70 00:00      
         RE: risc and cisc            01/01/70 00:00      
            RE: risc and cisc            01/01/70 00:00      
            RE: risc and cisc, to Peter            01/01/70 00:00      
               RE: risc and cisc, to George            01/01/70 00:00      
                  RE: risc and cisc, to Erik            01/01/70 00:00      
                     RE: risc and cisc, to Erik            01/01/70 00:00      
                        RE: risc and cisc, to Erik            01/01/70 00:00      
                           RE: risc and cisc, to George            01/01/70 00:00      
               RE: risc and cisc, to Peter            01/01/70 00:00      
                  RE: risc and cisc, to Peter - II            01/01/70 00:00      
                     RE: risc and cisc, to Peter - II            01/01/70 00:00      
                        RE: risc and cisc, to Peter - II            01/01/70 00:00      
                           RE: risc and cisc, to Peter - II            01/01/70 00:00      
                     RE: risc and cisc, to Peter - II            01/01/70 00:00      
   RE: risc and cisc            01/01/70 00:00      
   RE: WGASA            01/01/70 00:00      
      RE: WGASA            01/01/70 00:00      

Back to Subject List