Searching \ for 'C-Compiler vs. Macro assembler (for small PIC:s)' 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/microchip/devices.htm?key=pic
Search entire site for: 'C-Compiler vs. Macro assembler (for small PIC:s)'.

Truncated match.
PICList Thread
'C-Compiler vs. Macro assembler (for small PIC:s)'
1995\02\06@035443 by Conny Andersson

picon face
I have read the messages about various "big machine" c-compilers which may be
portable to pic:s. I must say that there is no reason to program a 0,5k to 4k
microprocessor using such a compiler. It's probably better to use the powerful
macro features in MPASM to make small code fragments and make code writing
easier.

I usually start a project by writing special macros for input and output such as
TSW SkipON and TSW SkipOFF. This macro tests input from a port pin (Tilt Switch
connected) and if this input is ON the next instruction is skipped. If you need
to change pin function, just edit the macros.
I also have a couple of macros for conditional jumps (test for carry, zero, ...)

If we are talking about the 16C42 when used in microprocessor mode you might
want a C-compiler ... (it takes time to write 64k of assembler instructions).

-----------------------------------------------------------------------------
Conny Andersson / LiTH

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