Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Pygments / tests / examplefiles / nasm / nasm_aoutso.asm.output
Size: Mime:
'; test source file for assembling to NetBSD/FreeBSD a.out shared library' Comment.Single
'\n'          Text.Whitespace

'; build with:' Comment.Single
'\n'          Text.Whitespace

';    nasm -f aoutb aoutso.asm' Comment.Single
'\n'          Text.Whitespace

';    ld -Bshareable -o aoutso.so aoutso.o' Comment.Single
'\n'          Text.Whitespace

'; test with:' Comment.Single
'\n'          Text.Whitespace

';    cc -o aoutso aouttest.c aoutso.so' Comment.Single
'\n'          Text.Whitespace

';    ./aoutso' Comment.Single
'\n'          Text.Whitespace

'\n'          Text.Whitespace

'; This file should test the following:' Comment.Single
'\n'          Text.Whitespace

'; [1] Define and export a global text-section symbol' Comment.Single
'\n'          Text.Whitespace

'; [2] Define and export a global data-section symbol' Comment.Single
'\n'          Text.Whitespace

'; [3] Define and export a global BSS-section symbol' Comment.Single
'\n'          Text.Whitespace

'; [4] Define a non-global text-section symbol' Comment.Single
'\n'          Text.Whitespace

'; [5] Define a non-global data-section symbol' Comment.Single
'\n'          Text.Whitespace

'; [6] Define a non-global BSS-section symbol' Comment.Single
'\n'          Text.Whitespace

'; [7] Define a COMMON symbol' Comment.Single
'\n'          Text.Whitespace

'; [8] Define a NASM local label' Comment.Single
'\n'          Text.Whitespace

'; [9] Reference a NASM local label' Comment.Single
'\n'          Text.Whitespace

'; [10] Import an external symbol' Comment.Single
'\n'          Text.Whitespace

'; [11] Make a PC-relative call to an external symbol' Comment.Single
'\n'          Text.Whitespace

'; [12] Reference a text-section symbol in the text section' Comment.Single
'\n'          Text.Whitespace

'; [13] Reference a data-section symbol in the text section' Comment.Single
'\n'          Text.Whitespace

'; [14] Reference a BSS-section symbol in the text section' Comment.Single
'\n'          Text.Whitespace

'; [15] Reference a text-section symbol in the data section' Comment.Single
'\n'          Text.Whitespace

'; [16] Reference a data-section symbol in the data section' Comment.Single
'\n'          Text.Whitespace

'; [17] Reference a BSS-section symbol in the data section' Comment.Single
'\n'          Text.Whitespace

'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'BITS'        Keyword
' '           Text.Whitespace
'32'          Literal.Number.Integer
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'EXTERN'      Keyword
' '           Text.Whitespace
'__GLOBAL_OFFSET_TABLE_' Name.Variable
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'GLOBAL'      Keyword
' '           Text.Whitespace
'_lrotate'    Name.Variable
':'           Punctuation
'function'    Name.Variable
' '           Text.Whitespace
'; [1]'       Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'GLOBAL'      Keyword
' '           Text.Whitespace
'_greet'      Name.Variable
':'           Punctuation
'function'    Name.Variable
' '           Text.Whitespace
'; [1]'       Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'GLOBAL'      Keyword
' '           Text.Whitespace
'_asmstr'     Name.Variable
':'           Punctuation
'data'        Name.Variable
' '           Text.Whitespace
'_asmstr.end' Name.Variable
'-'           Operator
'_asmstr'     Name.Variable
' '           Text.Whitespace
'; [2]'       Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'GLOBAL'      Keyword
' '           Text.Whitespace
'_textptr'    Name.Variable
':'           Punctuation
'data'        Name.Variable
' '           Text.Whitespace
'4'           Literal.Number.Integer
' '           Text.Whitespace
'; [2]'       Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'GLOBAL'      Keyword
' '           Text.Whitespace
'_selfptr'    Name.Variable
':'           Punctuation
'data'        Name.Variable
' '           Text.Whitespace
'4'           Literal.Number.Integer
' '           Text.Whitespace
'; [2]'       Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'GLOBAL'      Keyword
' '           Text.Whitespace
'_integer'    Name.Variable
':'           Punctuation
'data'        Name.Variable
' '           Text.Whitespace
'4'           Literal.Number.Integer
' '           Text.Whitespace
'; [3]'       Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'EXTERN'      Keyword
' '           Text.Whitespace
'_printf'     Name.Variable
'\t'          Text.Whitespace
'; [10]'      Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'COMMON'      Keyword
' '           Text.Whitespace
'_commvar'    Name.Variable
' '           Text.Whitespace
'4'           Literal.Number.Integer
'\t'          Text.Whitespace
'; [7]'       Comment.Single
'\n\n'        Text.Whitespace

'\t  '        Text.Whitespace
'SECTION'     Keyword
' '           Text.Whitespace
'.text'       Name.Variable
'\n\n'        Text.Whitespace

'; prototype: long lrotate(long x, int num);' Comment.Single
'\n'          Text.Whitespace

'_lrotate:'   Name.Label
'\t\t\t'      Text.Whitespace
'; [1]'       Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'push'        Name.Function
' '           Text.Whitespace
'ebp'         Name.Builtin
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'mov'         Name.Function
' '           Text.Whitespace
'ebp'         Name.Builtin
','           Punctuation
'esp'         Name.Builtin
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'mov'         Name.Function
' '           Text.Whitespace
'eax'         Name.Builtin
',['          Punctuation
'ebp'         Name.Builtin
'+'           Operator
'8'           Literal.Number.Integer
']'           Punctuation
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'mov'         Name.Function
' '           Text.Whitespace
'ecx'         Name.Builtin
',['          Punctuation
'ebp'         Name.Builtin
'+'           Operator
'12'          Literal.Number.Integer
']'           Punctuation
'\n'          Text.Whitespace

'.label'      Name.Function
'\t  '        Text.Whitespace
'rol'         Name.Variable
' '           Text.Whitespace
'eax'         Name.Builtin
','           Punctuation
'1'           Literal.Number.Integer
'\t\t'        Text.Whitespace
'; [4] [8]'   Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'loop'        Name.Function
' '           Text.Whitespace
'.label'      Name.Variable
'\t\t'        Text.Whitespace
'; [9] [12]'  Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'mov'         Name.Function
' '           Text.Whitespace
'esp'         Name.Builtin
','           Punctuation
'ebp'         Name.Builtin
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'pop'         Name.Function
' '           Text.Whitespace
'ebp'         Name.Builtin
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'ret'         Name.Function
'\n\n'        Text.Whitespace

'; prototype: void greet(void);' Comment.Single
'\n'          Text.Whitespace

'_greet'      Name.Function
'\t  '        Text.Whitespace
'push'        Name.Variable
' '           Text.Whitespace
'ebx'         Name.Builtin
'\t\t'        Text.Whitespace
"; we'll use EBX for GOT, so save it" Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'call'        Name.Function
' '           Text.Whitespace
'.getgot'     Name.Variable
'\n'          Text.Whitespace

'.getgot:'    Name.Label
'  '          Text.Whitespace
'pop'         Name.Function
' '           Text.Whitespace
'ebx'         Name.Builtin
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'add'         Name.Function
' '           Text.Whitespace
'ebx'         Name.Builtin
','           Punctuation
'__GLOBAL_OFFSET_TABLE_' Name.Variable
' '           Text.Whitespace
'+'           Operator
' '           Text.Whitespace
'$$'          Keyword.Constant
' '           Text.Whitespace
'-'           Operator
' '           Text.Whitespace
'.getgot'     Name.Variable
' '           Text.Whitespace
'wrt'         Operator.Word
' '           Text.Whitespace
'..gotpc'     Name.Variable
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'mov'         Name.Function
' '           Text.Whitespace
'eax'         Name.Builtin
',['          Punctuation
'ebx'         Name.Builtin
'+'           Operator
'_integer'    Name.Variable
' '           Text.Whitespace
'wrt'         Operator.Word
' '           Text.Whitespace
'..got'       Name.Variable
']'           Punctuation
' '           Text.Whitespace
'; [14]'      Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'mov'         Name.Function
' '           Text.Whitespace
'eax'         Name.Builtin
',['          Punctuation
'eax'         Name.Builtin
']'           Punctuation
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'inc'         Name.Function
' '           Text.Whitespace
'eax'         Name.Builtin
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'mov'         Name.Function
' '           Text.Whitespace
'['           Punctuation
'ebx'         Name.Builtin
'+'           Operator
'localint'    Name.Variable
' '           Text.Whitespace
'wrt'         Operator.Word
' '           Text.Whitespace
'..gotoff'    Name.Variable
'],'          Punctuation
'eax'         Name.Builtin
' '           Text.Whitespace
'; [14]'      Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'mov'         Name.Function
' '           Text.Whitespace
'eax'         Name.Builtin
',['          Punctuation
'ebx'         Name.Builtin
'+'           Operator
'_commvar'    Name.Variable
' '           Text.Whitespace
'wrt'         Operator.Word
' '           Text.Whitespace
'..got'       Name.Variable
']'           Punctuation
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'push'        Name.Function
' '           Text.Whitespace
'dword'       Keyword.Type
' '           Text.Whitespace
'['           Punctuation
'eax'         Name.Builtin
']'           Punctuation
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'mov'         Name.Function
' '           Text.Whitespace
'eax'         Name.Builtin
',['          Punctuation
'ebx'         Name.Builtin
'+'           Operator
'localptr'    Name.Variable
' '           Text.Whitespace
'wrt'         Operator.Word
' '           Text.Whitespace
'..gotoff'    Name.Variable
']'           Punctuation
' '           Text.Whitespace
'; [13]'      Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'push'        Name.Function
' '           Text.Whitespace
'dword'       Keyword.Type
' '           Text.Whitespace
'['           Punctuation
'eax'         Name.Builtin
']'           Punctuation
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'mov'         Name.Function
' '           Text.Whitespace
'eax'         Name.Builtin
',['          Punctuation
'ebx'         Name.Builtin
'+'           Operator
'_integer'    Name.Variable
' '           Text.Whitespace
'wrt'         Operator.Word
' '           Text.Whitespace
'..got'       Name.Variable
']'           Punctuation
' '           Text.Whitespace
'; [1] [14]'  Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'push'        Name.Function
' '           Text.Whitespace
'dword'       Keyword.Type
' '           Text.Whitespace
'['           Punctuation
'eax'         Name.Builtin
']'           Punctuation
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'lea'         Name.Function
' '           Text.Whitespace
'eax'         Name.Builtin
',['          Punctuation
'ebx'         Name.Builtin
'+'           Operator
'_printfstr'  Name.Variable
' '           Text.Whitespace
'wrt'         Operator.Word
' '           Text.Whitespace
'..gotoff'    Name.Variable
']'           Punctuation
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'push'        Name.Function
' '           Text.Whitespace
'eax'         Name.Builtin
'\t\t'        Text.Whitespace
'; [13]'      Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'call'        Name.Function
' '           Text.Whitespace
'_printf'     Name.Variable
' '           Text.Whitespace
'wrt'         Operator.Word
' '           Text.Whitespace
'..plt'       Name.Variable
' '           Text.Whitespace
'; [11]'      Comment.Single
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'add'         Name.Function
' '           Text.Whitespace
'esp'         Name.Builtin
','           Punctuation
'16'          Literal.Number.Integer
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'pop'         Name.Function
' '           Text.Whitespace
'ebx'         Name.Builtin
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'ret'         Name.Function
'\n\n'        Text.Whitespace

'\t  '        Text.Whitespace
'SECTION'     Keyword
' '           Text.Whitespace
'.data'       Name.Variable
'\n\n'        Text.Whitespace

'; a string'  Comment.Single
'\n'          Text.Whitespace

'_asmstr'     Name.Function
'\t  '        Text.Whitespace
'db'          Name.Variable
' '           Text.Whitespace
"'hello, world'" Literal.String
','           Punctuation
' '           Text.Whitespace
'0'           Literal.Number.Integer
'\t'          Text.Whitespace
'; [2]'       Comment.Single
'\n'          Text.Whitespace

'.end'        Name.Function
'\n\n'        Text.Whitespace

'; a string for Printf' Comment.Single
'\n'          Text.Whitespace

'_printfstr'  Name.Function
' '           Text.Whitespace
'db'          Name.Variable
' '           Text.Whitespace
'"integer==%d, localint==%d, commvar=%d"' Literal.String
'\n'          Text.Whitespace

'\t  '        Text.Whitespace
'db'          Keyword.Declaration
' '           Text.Whitespace
'10'          Literal.Number.Integer
','           Punctuation
' '           Text.Whitespace
'0'           Literal.Number.Integer
'\n\n'        Text.Whitespace

'; some pointers' Comment.Single
'\n'          Text.Whitespace

'localptr'    Name.Function
'  '          Text.Whitespace
'dd'          Name.Variable
' '           Text.Whitespace
'localint'    Name.Variable
'\t\t'        Text.Whitespace
'; [5] [17]'  Comment.Single
'\n'          Text.Whitespace

'_textptr'    Name.Function
'  '          Text.Whitespace
'dd'          Name.Variable
' '           Text.Whitespace
'_greet'      Name.Variable
' '           Text.Whitespace
'wrt'         Operator.Word
' '           Text.Whitespace
'..sym'       Name.Variable
'\t'          Text.Whitespace
'; [15]'      Comment.Single
'\n'          Text.Whitespace

'_selfptr'    Name.Function
'  '          Text.Whitespace
'dd'          Name.Variable
' '           Text.Whitespace
'_selfptr'    Name.Variable
' '           Text.Whitespace
'wrt'         Operator.Word
' '           Text.Whitespace
'..sym'       Name.Variable
'\t'          Text.Whitespace
'; [16]'      Comment.Single
'\n\n'        Text.Whitespace

'\t  '        Text.Whitespace
'SECTION'     Keyword
' '           Text.Whitespace
'.bss'        Name.Variable
'\n\n'        Text.Whitespace

'; an integer' Comment.Single
'\n'          Text.Whitespace

'_integer'    Name.Function
'  '          Text.Whitespace
'resd'        Name.Variable
' '           Text.Whitespace
'1'           Literal.Number.Integer
'\t\t'        Text.Whitespace
'; [3]'       Comment.Single
'\n\n'        Text.Whitespace

'; a local integer' Comment.Single
'\n'          Text.Whitespace

'localint'    Name.Function
'  '          Text.Whitespace
'resd'        Name.Variable
' '           Text.Whitespace
'1'           Literal.Number.Integer
'\t\t'        Text.Whitespace
'; [6]'       Comment.Single
'\n'          Text.Whitespace