[M3devel] assembly goes to C compiler?
Olaf Wagner
wagner at elegosoft.com
Mon Aug 3 16:36:25 CEST 2009
Quoting Tony Hosking <hosking at cs.purdue.edu>:
> Using the C compiler allows the assembly to have preprocessor directives.
So you think it's a feature. Why do we have the assemble methods
in the config file then? Or are they just legacy?
%----------------------------------------------------------------
assembler ---
% "assemble" is called to assemble .s or .asm files. Note that this function
% is only called if your program or library explicitly includes
assembly source
% code, the system distributed by Critical Mass does not.
proc assemble(source, object) is
if defined("configure_assembler")
configure_assembler()
end
return try_exec("@" & SYSTEM_ASM, source, "-o", object)
end
Probably a remnant of DEC SRC M3?
Olaf
--
Olaf Wagner -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
More information about the M3devel
mailing list