Yahoo Groups archive

AVR-Chat

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

Message

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

2005-11-01 by John Samperi

At 06:32 AM 2/11/2005, you wrote:
>What is the difference between doing:
>
>.equ IOPIN = PD0
>.equ IOPORT= PortD
>
>then...
>
>.equ IOPIN = 0
>.equ IOPORT=PortD

No difference as PD0 would be defined as bit 0 somewhere else.
May want to watch the case of the labels as assembler V2 can
be setup to be case sensitive.

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.