avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] lo8() and lo8_pm() directives


From: Theodore A. Roth
Subject: Re: [avr-gcc-list] lo8() and lo8_pm() directives
Date: Thu, 10 Jul 2003 08:44:54 -0700 (PDT)


On Wed, 9 Jul 2003, Larry Barello wrote:

> Where do I find documentation on the assembly directives lo8() and
> it's brothers?

Looking through the gas manual, that seems to be missing. The only
mention I've seen of those modifiers is in
binutils/gas/config/tc-avr.c:

static struct exp_mod_s exp_mod[] =
{
  {"hh8",    BFD_RELOC_AVR_HH8_LDI,    BFD_RELOC_AVR_HH8_LDI_NEG,    1},
  {"pm_hh8", BFD_RELOC_AVR_HH8_LDI_PM, BFD_RELOC_AVR_HH8_LDI_PM_NEG, 0},
  {"hi8",    BFD_RELOC_AVR_HI8_LDI,    BFD_RELOC_AVR_HI8_LDI_NEG,    1},
  {"pm_hi8", BFD_RELOC_AVR_HI8_LDI_PM, BFD_RELOC_AVR_HI8_LDI_PM_NEG, 0},
  {"lo8",    BFD_RELOC_AVR_LO8_LDI,    BFD_RELOC_AVR_LO8_LDI_NEG,    1},
  {"pm_lo8", BFD_RELOC_AVR_LO8_LDI_PM, BFD_RELOC_AVR_LO8_LDI_PM_NEG, 0},
  {"hlo8",   -BFD_RELOC_AVR_LO8_LDI,   -BFD_RELOC_AVR_LO8_LDI_NEG,   0},
  {"hhi8",   -BFD_RELOC_AVR_HI8_LDI,   -BFD_RELOC_AVR_HI8_LDI_NEG,   0},
};

I guess there should really be an AVR node added to the "Machine
Dependent Features" node in the as.texi file...

Ted Roth


reply via email to

[Prev in Thread] Current Thread [Next in Thread]