Georg-Johann Lay <[email protected]> wrote:
> Now the question is: How to write down a 24-bit symbol?
>
> .global pc
> .data
> .type pc, @object
> .size pc, 3
> pc:
> .word c
> .byte hlo8(c) ??? error from as
How about extending the assembler to understand a native 24-bit type
as well?
.global pc
.data
.type pc, @object
.size pc, 3
pc: .word24 c
This probably also requires a matching relocation record type in
binutils (so the linker could appropriately enter c's address into
pc).
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
_______________________________________________
AVR-GCC-list mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list