Assembly Language with P89LPC932

Started by Edward Mak, April 09, 2003, 08:26:46 PM

Previous topic - Next topic

Edward Mak

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

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

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

Thanks for the inputs from Pascula Lopez & Roland.

E.Mak