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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/29/10 21:08
Read: times


 
#179720 - you are thus forgiven, but
Responding to: ???'s previous message
im very new to assembly langauge

you are thus forgiven, but
make an assembler module, not a C with pragma

mov P3, #0Dfh ;// turn on green led//
mov r7, #0ffh ;// move ffh to reg 7 ( DELAY)//

the first line has a comment, good
the second line as an 'assembler explanation'


ret
you do not return from emebedded code, you need an eternal loop


List of 25 messages in thread
TopicAuthorDate
traffic lights            01/01/70 00:00      
   you are thus forgiven, but            01/01/70 00:00      
   Oh, how very British            01/01/70 00:00      
      Menagerie of crossings            01/01/70 00:00      
         Animal crossings...            01/01/70 00:00      
            zebra cross            01/01/70 00:00      
               Zebra crossing project            01/01/70 00:00      
                  trafic light            01/01/70 00:00      
                     Wrong.            01/01/70 00:00      
                        Laura used MCU            01/01/70 00:00      
                           Please read posts carefully!            01/01/70 00:00      
               See the persons in that photo            01/01/70 00:00      
                  Double Pun            01/01/70 00:00      
                     Good one!            01/01/70 00:00      
   delay            01/01/70 00:00      
      Oh dear!            01/01/70 00:00      
      Sequence            01/01/70 00:00      
      Robot?            01/01/70 00:00      
   Smith & Jones?            01/01/70 00:00      
      Too many names?            01/01/70 00:00      
         there once was a TV series ... "alias Smith and Jones"            01/01/70 00:00      
            Alas, Smith & Jones            01/01/70 00:00      
            A word to brighten my day            01/01/70 00:00      
      seems like here            01/01/70 00:00      
         there's demand for that here            01/01/70 00:00      

Back to Subject List