??? 10/23/06 12:29 Read: times |
#126898 - or how about DDEC Responding to: ???'s previous message |
Hi Ian,
Unless there is some specefic benefit to treating the DPTR as a special case (e.g. economy of machine cycles), why not make a general purpose DDEC (Double DECecrement) that operates on the two-byte location beginning at the address specified. Then, DEC DPTR would just be the special case of DDEC 0x82, something easily implemented in the assembler. Just a thought. Joe |