Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] AVRA driectives

2004-01-12 by John Samperi

At 12:47 PM 11/01/04 -0500, you wrote:
>
>Does anyone know if AVRA accepts a directive to echo output to console?
>

Atmel's assembler v1.74 now does (I think) and since they fixed the stupid
directive form hash back to full stop it is compatible with AVRA again.

Is this what you need? (from the manual)

ERROR - Outputs an error message string

The ERROR directive outputs a string and halts the assembling.  May be used
in conditional assembly.

Syntax: 
.ERROR "<string>" 

Example: 
.IFDEF TOBEDONE
.ERROR "Still stuff to be done.."
.ENDIF


MESSAGE - Output a message string
The MESSAGE directive outputs a string.  Useful in conditional assembly.

Syntax: 
.MESSAGE "<string>" 

Example: 
.IFDEF DEBUG
.MESSAGE "Debug mode"
.ENDIF

 
Rememer that this comes with the official release of Studio
4.08 not the beta version.

Regards

John Samperi

******************************************************
                        Ampertronics Pty. Ltd.
  11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
         Tel. (02) 9674-6495       Fax (02) 9674-8745
               Email: samperi@ampertronics.com.au
                 Website  http://ampertronics.com.au
* Electronic Design   * Technical Services   * 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.