Author Topic: Assembly Language with P89LPC932  (Read 4703 times)

Edward Mak

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Assembly Language with P89LPC932
« on: April 09, 2003, 08:26:46 pm »
Hi, floks

1) I don't have very large applications to deal with, so can I stick with Assembly programming with this MCU, old timer assember like the Metalink ASM51. Provided I can manage the 932 header file.

2) Does the Asm51 produce the same 8051 source code which is good for the PLC932?

I just can't afford thousand bulks for a C compiler just for hobby purposes.


Please advice.

E.Mak

PASCUAL LOPEZ

  • Guest
Re: Assembly Language with P89LPC932
« Reply #1 on: April 10, 2003, 04:46:01 am »
DEAR E.MAK,

YOU CAN USE THE METALINK, TO GENERATE AN HEX FILE. THE ONLY THING, IS THAT YOU MUST HAVE A HEADER FILE LIKE FOR EXAMPLE: "$MOD932". IF YOU ARE INTERESTED, I MADE ONE. SEND ME AN EMAIL AT: support@electronicdd.com

PASCUAL

Roland

  • Guest
Re: Assembly Language with P89LPC932
« Reply #2 on: April 10, 2003, 05:25:25 am »
Hi, Edward
just a place to look for...
it's the home of the free available sdcc C compiler
The Compiler produces optimized 8051 and Z80 code

http://sdcc.sourceforge.net/

another good starting point is here:
http://www.pjrc.com/tech/8051/#as31_assembler

I am using the asm31 assembler from Ken Stauffer.
For new 8051 derivates, like the lpc... you have to
build up your own equates for the additional registers,
that's all..

Roland


Edward Mak

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
Re: Assembly Language with P89LPC932
« Reply #3 on: April 10, 2003, 05:27:45 pm »
Thanks for the inputs from Pascula Lopez & Roland.

E.Mak