> These math functions are in a Microchip-supplied object archive > file, libm-coff.a, and I am calling them from my assembly code in > a .s file. I expected to have to use an .extern statement to > declare each of the library functions I call; yet my program > assembles, links, and runs just fine whether I include the > .extern statements or omit them. I dunno about this assembler, but the ARM assembler we use requires a .global directive *to make a label globally visible* (to 'export it'), not to use a global label (import). The opposite of the C use of extern, where a name that is 'from the outside' must be marked explicitly with 'extern'. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist