Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Re: Assembler directive equ

2005-11-02 by John Samperi

At 12:26 PM 2/11/2005, you wrote:
>I was wondering if I could combine both equates to do something like this
>.equ LCD_Enable = Portc, 0

No. You can make a macro that would substitute the instructions I guess
to save typing. I find however that it's just as easy simply to copy
and paste :-) so you only need to type it once in your code.



Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.