[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] using c and asm files in one project
From: |
Scott Pitcher |
Subject: |
Re: [avr-gcc-list] using c and asm files in one project |
Date: |
Wed, 18 Apr 2001 21:09:32 +1000 |
Hi Klaus,
Declare assembler globals with ...
.section .data
.global label1
label1: .....
and declare them as extern in your c code.
Cheers
Scott
On Monday 16 April 2001 22:45, you wrote:
> Hi all,
>
> i have an old project with only asm files and want to go to
> c-source now.
> data.s
>
> ..text
> label1:
> ..byte 0x01, 0x02 .... 0x00
>
> label2:
> But the compiler tell me that there are no labels
> label1 and label2.
>
> Thanke for your help
> Klaus
>
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://avr.jpk.co.nz/mailman/listinfo/avr-gcc-list
--
-----------------------------------------------
Scott Pitcher address@hidden
Product Engineer +61-418-368-051
LETECH Melbourne, Australia
-----------------------------------------------