The question below was posted as a bug, which it is obviously not.
The format of a rule file is like this :-
mov dph,(%1 + 1)
; peephole custom rule, use DPTR as a single
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-
Then how i should manage this ,pleas help me.
with warm regards
And the answer is:
There is no opcode in the 8051 machine language to decrement the DPTR. The only option is to do it byte by byte. For example:
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.