piclist 1995\12\08\145509a >
Thread: Parallax: PASM , LCALL, CALL etc.
www.piclist.com/techref/language/index.htm?key=asm
flavicon
face BY : Andrew Warren email (remove spam text)



Brad Mitchell <RemoveMEPICLISTspam.....MITVMA.MIT.EDU> wrote:

> 1.  LCALL in parallax's assembler states that this is only useful
> for the 56 and 57.  I assume that this is because of the the size
> of the 54 eprom, prohibits an 11 bit address.  My question is, is
> it just a mistake in the assembler documentation that says that
> this LCALL and LJMP is only good for the 56 and 57?  I make the
> assumption that it will work for the 58 too with 2k eprom?
> correct?

   Correct, but PASM was written before the 16C58 was introduced.
   Either you have an old version of PASM or (more likely) Parallax
   hasn't updated PASM for years.

> 2. why isn't this instruction available for the new assembler
> pasmx?  Am I missing a common practice that works better?

   No.  If you have the newest version of PASMX and it doesn't
   contain LCALL/LJMP instructions, it probably means that IT hasn't
   been updated in years, either.  On the smaller 16Cxx parts (the
   only ones that were available until a couple of years ago),
   there's no need for LCALL and LJMP instructions, since the entire
   destination address fits in the regular CALL and GOTO opcodes.

   Check out Microchip's own MPASM assembler (available from their
   BBS or Web page); it's a MUCH more serious development tool.

   -Andy

Andrew Warren - fastfwdKILLspamspamEraseMEix.netcom.com
Fast Forward Engineering, Vista, California
http://www.geopages.com/SiliconValley/2499
<9512081954.AA20018@MIT.EDU>

See also: www.piclist.com/techref/language/index.htm?key=asm
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Parallax: PASM , LCALL, CALL etc.

month overview.

new search...