AS86: Difference between revisions

m
fixed a typo
[unchecked revision][unchecked revision]
m (fixed a typo)
 
(2 intermediate revisions by 2 users not shown)
Line 1:
{{Stub}}
{{Stub}}AS86 is a lesser-known GNU assembler, which uses the Intel syntax rather than the AT&T syntax more common amongst Unix-based assemblers. Despite being less well known, it is very similar to the more common assemblers in terms of its functionality. It differs in that there is little requirement for so-called "red tape" at the start of a source file, although there is limited support for macros (most notably jmp $ fails).
 
{{Stub}}AS86 is a lesser-known GNUlegacy assembler, whichonce usesused theto build ancient versions of Linux until [[GAS]] took over. It's based on Intel syntax rather than the AT&T syntax more common amongst Unix-based assemblers. Despite being less well known, it is very similar to the more common assemblers in terms of its functionality. It differs in that there is little requirement for so-called "red tape" at the start of a source file, although there is limited support for macros (most notably jmp $ fails).
==Usage==
 
AS86 allows the user to limit the available instructions to those available on a specific processor generation (e.g. 286, 386, etc.). One can also choose the assemble the standard input, which can be useful for automated build scripts.
The assembler often comes bundled with the rest of the bin86 toolchain, but as it is unmaintained and slowly disappearing it is recommended to use one of the more current Intel assemblers for new projects. Common alternatives are [[YASM]], [[NASM]] or [[FASM]].
 
== Usage ==
AS86 allows the user to limit the available instructions to those available on a specific processor generation (e.g. 286, 386, etc.). One can also choose theto assemble the standard input, which can be useful for automated build scripts.
 
It is very easy to prepare a flat binary using AS86 with the help of [[LD]], as one can simply run "ld86 -d" against the produced object file. Using this method it is also possible to link object files in various formats.
 
== See Also ==
=== Articles ===
* [[GAS]]
* [[Assembly]]
* [[Tool Comparison]]
* [[MASM]]
* [[Wikibooks:X86 Assembly/MASM Syntax|MASM Syntax]] - Wikibook
 
[[Category:Assemblers]]
Anonymous user