Generating assembly code without macro-instructions
Nikolaos Kavvadias
nkavv@physics.auth.gr
Mon Feb 27 16:08:00 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there
i have a question. Is there any way for mature ports (e.g. MIPS,
Alpha, SPARC) to generate directly "real" assembly instructions (as
these are shown by "gas -l") instead of macro-instructions? See below
for such a case. BTW can this be done for "dot" instructions (assembly
directives) too, are these are required information for the linker?
An example of a macro-instruction that could be replaced on-the-fly by
two "real" assembly instructions for the MIPS:
Macro:
li %reg, %imm
Actual assembly:
lui %0, \%hi(%1)
ori %0, %0, %1
regards
Nikolaos Kavvadias
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEAxEKMPiy0tCWlz4RAnHzAJ9fD09I6lr+8gFjmnjRrvPb5IVyvQCgk2nx
VK2aslXvafMF5TIGj+D/Zuo=
=Ys/j
-----END PGP SIGNATURE-----
More information about the Binutils
mailing list