[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] How to define a ROM data in a perticular address?
From: |
Ruwan Jayanetti |
Subject: |
[avr-gcc-list] How to define a ROM data in a perticular address? |
Date: |
Mon, 24 Apr 2006 18:23:04 +0530 |
Hi,
I need to define some data in a particular address in ROM (flash). Any
idea how can I do this?
I tried including an assembler file:
.org 0x80
.byte 0xaa
.byte 0x55
But compiler / linker don't seems to care about .org directive. The
bytes are getting in with other program strings defined in C, but
leaving a gap of 0x80.
Thanks in advance,
Ruwan
- [avr-gcc-list] How to define a ROM data in a perticular address?,
Ruwan Jayanetti <=