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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/14/03 20:19
Read: times


 
#52600 - header file in .asm
hi,
I'm a newbie to assembly programming.
can someone tell me the use of including header file in assembly code ? for instance (taken from ISIS prof. ed.):

LIST p=16F84 ; PIC16F844 is the target processor

#include "P16F84.INC" ; Include header file

CBLOCK 0x10 ; Temporary storage
state
l1,l2
ENDC

org 0 ; Start up vector.
goto setports ; Go to start up code


how can i rewrite the above code for at89c51 ? there're no *INC files for 89c51.

Please bear with my ignorance.

thanx

List of 9 messages in thread
TopicAuthorDate
header file in .asm            01/01/70 00:00      
   RE: header file in .asm            01/01/70 00:00      
   RE: header file in .asm            01/01/70 00:00      
      RE: header file in .asm            01/01/70 00:00      
         RE: header file in .asm            01/01/70 00:00      
            RE: header file in .asm            01/01/70 00:00      
               RE: header file in .asm, abshiek            01/01/70 00:00      
                  RE: header file in .asm, Erik and Bips            01/01/70 00:00      
         RE: header file in .asm            01/01/70 00:00      

Back to Subject List