CORRECTION: I previously reported a couple of documentation errors in the ASM30 manual. However, I made one mistake. My second paragraph, which starts out "On page 227, the 18FXXX "PUSH" instruction . . ." should be deleted. Instead, the error is on page 229, under D.5.2.7, showing the emulation of the TSTFSZ F,A instruction. The second operand there for the BRA instruction should be ".+4" instead of ".+2" as it is written. Sorry. :-( John Nall wrote: > Dear Microchip People: > > There are a couple of small errors in the ASM30 manual. > Specifically, on page 228, which is in Appendix D, "MPASM Assembler > Compatibility", under D.5.2.1, you have the 18FXXX instruction as "LFSR > F,k" when actually it should be the reverse of that -- LFSR k,F." No > big thing, of course. But still . . .technical manuals should > completely accurate, right down to dotting the smallest "i" and crossing > the smallest "t" as necessary. > > On page 227, the 18FXXX "PUSH" instruction shows a dsPIC30FXXXX > instruction of "RCALL .+2" which actually should be "RCALL .+4." > > Appendix D is really helpful to those of us who are trying to > convert 18FXXX code to 30FXXX code, by the way, and whoever wrote it > should be highly commended, and given a huge increase in salary. > (Although it would be even better with a couple of pages showing which > SFR's correspond for the two families). > > Best regards, > John > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist