[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in avr-as ?
From: |
rm |
Subject: |
bug in avr-as ? |
Date: |
Tue, 17 Jul 2001 00:22:35 -0400 |
User-agent: |
Mutt/1.2.5i |
hi,
i'm trying to get the following code snippet to work, but
instead of loading the address of label, it just has 0x0. is this a
bug or am i abusing something?
address@hidden bin]# cat test.s
.org 0x1c
ldi r30, lo8(offset)
ldi r31, hi8(offset)
offset:
reti
address@hidden bin]# ./avr-as test.s
address@hidden bin]# ./avr-objdump -D a.out
a.out: file format elf32-avr
Disassembly of section .text:
00000000 <offset-0x20>:
...
1c: e0 e0 ldi r30, 0x00 ; 0
1e: f0 e0 ldi r31, 0x00 ; 0
00000020 <offset>:
20: 18 95 reti
Disassembly of section .data:
address@hidden bin]# ./avr-as -v
GNU assembler version 2.11.2 (avr) using BFD version 2.11.2
address@hidden binutils-2.11.2]# more config.status
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
./configure --host=i686-pc-linux-gnu --prefix=/home/here/bin-test --target=avr -
-norecursion
#
----
Robert Melby
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt4255a
Internet: address@hidden
- bug in avr-as ?,
rm <=
- Message not available
- Message not available