Matt S Trout > Rakudo-Star-2012.08_001 > as2c.pl

Download:
Rakudo-Star-2012.08_001.tar.gz

Annotate this POD

Source  

NAME ^

as2c.pl - convert GNU Assembler listing to i386 code array

DESCRIPTION ^

The plan behind of as2c.pl is to create compiler independent machine code for an architecture. Code in, e.g., MASM, GAS, NASM syntax doesn't fit all compilers. Therefore as2c.pl translates GAS syntax to a bytestring, which is then used as the asm code.

as2c.pl is used very rarely. Once the code is generated and checked in, there's usually no need to change it later.

REFERENCES ^

GNU Assembler: (GAS) http://en.wikipedia.org/wiki/GNU_Assembler

Microsoft Macro Assembler (MASM): http://en.wikipedia.org/wiki/Microsoft_Macro_Assembler

Netwide Assembler (NASM) http://en.wikipedia.org/wiki/Netwide_Assembler

syntax highlighting: