Hi,

 This is Prashanthi. I need the syntax to parameterize
the values in the SDCC asx8051 assembler.Can you
please help me out.Here i am giving example what i
require exactly...

  This is the .asm code in sdcc
 compiler(assembler is asx51 means 8051).
 
     mov dptr,#0x2300
     mov a,#0x08
     movx @dptr,a
       .
       .
       . 
     mov dptr,#0x2500
     mov a,#0x10
     movx @dptr,a
       .
       .
       .
  Like this i have 200 register are there i want to
define in one file and I want to declare some lables
like 
       par_1 : 0x2300
       par_2 : 0x2500
    
 I want these par_1,par_2 in place of
 0x2300,0x2500.But i didn't get the syntax in sdcc
assembler. Can you plz help me out?
 
 Thanks ,
 Prashanthi
     
   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to