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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/27/05 18:09
Read: times


 
#85964 - 4 errors found in your smt_1.asm pgm
Responding to: ???'s previous message
Hello Gopalakrishnan Narayanan,

I compiled your program at this address (http://www.8052.com/users/gop8051/Smt_1.ASM) and found the following errors. I hope this helps a little. By the way you don't need a PCA IC to do this task. A little bit more work on your part you should be able to get this device to work.

Regards,

Charles Bannister

MCS-51 Family Macro Assembler ASEM-51 V1.3
Smt_1.asm(2): illegal control statement
Smt_1.asm(104): illegal statement syntax
Smt_1.asm(247): expression out of range
Smt_1.asm(255): expression out of range
             4 errors detected

$MOD52        (LINE 2)
/*This routines makes measurement for a certain period of time
              (LINE 104)
mov R6,#101h  (LINE 247)
mov R6,#111h  (LINE 255)



List of 30 messages in thread
TopicAuthorDate
help with duty cycle measurement            01/01/70 00:00      
   woefully incomplete            01/01/70 00:00      
      Definitions            01/01/70 00:00      
         gobbelygook            01/01/70 00:00      
   Routines            01/01/70 00:00      
   sorry for the gobbelygook            01/01/70 00:00      
      A job for the PCA?            01/01/70 00:00      
      now that is clear            01/01/70 00:00      
      4 errors found in your smt_1.asm pgm            01/01/70 00:00      
         maybe only 3            01/01/70 00:00      
   cannot change            01/01/70 00:00      
   SMT160 example code in C            01/01/70 00:00      
      why            01/01/70 00:00      
         It is absolute necessary !            01/01/70 00:00      
            on the fly            01/01/70 00:00      
               Thus I use assembler !            01/01/70 00:00      
                  not assembler but int            01/01/70 00:00      
                     It must be XCH !            01/01/70 00:00      
                        still wrong to read with running            01/01/70 00:00      
                           not wrong, since it is tested !            01/01/70 00:00      
                              OK            01/01/70 00:00      
            Thanks to all            01/01/70 00:00      
   Thanks Peter            01/01/70 00:00      
      Do some simple tests first            01/01/70 00:00      
         Problem solved But            01/01/70 00:00      
   Modified code and mistakes            01/01/70 00:00      
   smt160.asm example            01/01/70 00:00      
      Thanks for example            01/01/70 00:00      
   Please explain            01/01/70 00:00      
      Yes            01/01/70 00:00      

Back to Subject List