Searching \ for 'Parallax: PASM , LCALL, CALL etc.' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/language/index.htm?key=asm
Search entire site for: 'Parallax: PASM , LCALL, CALL etc.'.

Truncated match.
PICList Thread
'Parallax: PASM , LCALL, CALL etc.'
1995\12\08@080924 by Brad Mitchell

picon face
        I'm just learning  this stuff, last assembler I used was
on a z80 with my timex sinclair.. before that a pdp-11..

       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?

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

       3. I am just starting to look at the micro chip instruction set,
and wondering how do you get around this with this instruction set.
I'm definitely missing something here.


               Regards,
Brad Mitchell

1995\12\08@145509 by Andrew Warren

flavicon
face
Brad Mitchell <spam_OUTPICLISTTakeThisOuTspamMITVMA.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 - .....fastfwdKILLspamspam@spam@ix.netcom.com
Fast Forward Engineering, Vista, California
http://www.geopages.com/SiliconValley/2499

1995\12\09@084038 by Newfound Electronics

flavicon
face
>
>> 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.
>
Parallax are upgrading their programmer and PASMX now. The expected release
date has been put back several times aready but it can't be to far away.
However with the advent of MPLAB, a *FREE* powerful simulator to be released
in arround April,  you are far better off using MPASM. This will give you a
free source level debugger and I imaging it will  be far better than what
parallax could dream of providing.

Actually, earlier on, the parallax assemblers had some good advantages over
the microchip assemblers but that has all changed now. Seriously, anyone
continuing to use the parallax assembler is cutting themselves off from
compatibility with the best and most numerous tools available.

Jim

1995\12\09@113232 by Brad Mitchell

picon face
Thanks Jim, that's what I figured I was doing.. cutting my self off.
Now the only problem is, I have all the microchip data books, app book, etc,
but the darn assembly instruction set is (Microchip version ) etc .
seems to confuse me.. Parallax in their docs says that there are 33 instructins
in microchip's version, but I look at the call and it's addr8 too! hmmm.
I must be missing the boat on the real instruction set from microchip
somehow.. Thanks.
Brad WB8YGG

More... (looser matching)
- Last day of these posts
- In 1995 , 1996 only
- Today
- New search...