The format of a rule file is like this :-
replace
{
mov dpl,%1
mov dph,(%1 + 1)
}
by
{
; peephole custom rule, use DPTR as a single
register.
mov dptr,#%1
}
This tells the optimizer to change all the inefficient
mov's to the single mov. It also places the comment in
the file so you know why it is there. There are various
other options you can put in the file, which are all fully
covered in the manual. Be warned You can easily wreck
things by using custom rules which cause bugs in your
program. The compiler doesn't check you have done
something stupid. so...
Then how i decrement data pointer in my program?
The below one is also not available-
DEC DPTR
Then how i should manage this ,pleas help me.
with warm regards
-sun
Logged In: YES
user_id=888171
Thsi is a question not a bug. Moved it to the Help Forum.