From: Prashanthi C. <pra...@ti...> - 2007-06-19 06:54:46
|
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 |