id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Terraspace/UASM:x64/Release/errmsg.asm:9 | DD imagerel $LN5+18
DD imagerel $unwind$write_logo
$chain$1$write_logo DD 021H
DD imagerel $LN5
DD imagerel $LN5+18
DD imagerel $unwind$write_logo
$unwind$PrintUsage DD 020601H
DD 030023206H
$unwind$WriteError DD 010401H
DD 04204H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$sprintf DD 041601H
DD 070125216H
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 321 | 380 |
Terraspace/UASM:x64/Release/errmsg.asm:10 | ; COMDAT xdata
xdata SEGMENT
$unwind$printf DD 041b01H
DD 07017521bH
DD 030156016H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vfprintf_l DD 081401H
DD 0a6414H
DD 095414H
DD 083414H
DD 070105214H
xdata ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
; COMDAT PrtMsg... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 361 | 420 |
Terraspace/UASM:x64/Release/errmsg.asm:11 | mov r14, r8
jne SHORT $LN8@PrtMsg
mov ecx, 3
mov BYTE PTR banner_printed, 1
call MsgGetEx
mov ecx, 2
mov rbx, rax
call MsgGetEx
mov rdx, rax
lea rcx, OFFSET FLAT:$SG10884
mov r8, rbx
call printf
$LN8@PrtMsg:
; 206 : #endif
; 207 : /* open .err file if not already open and a name is given */
; 208 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 401 | 460 |
Terraspace/UASM:x64/Release/errmsg.asm:12 | ; 213 : CurrFName[ERR] = NULL; /* set to NULL before EmitErr()! */
mov QWORD PTR ModuleInfo+152, rax
; 214 : Options.no_error_disp = FALSE; /* disable -eq! */
mov BYTE PTR Options+12, al
; 215 : EmitErr( CANNOT_OPEN_FILE, p, ErrnoStr() );
call ErrnoStr
mov r8, rax
mov rd... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 441 | 500 |
Terraspace/UASM:x64/Release/errmsg.asm:13 | ; 223 : fflush( errout ); /* 27-feb-90 */
mov ecx, 1
call __acrt_iob_func
mov rcx, rax
call fflush
mov rax, QWORD PTR ModuleInfo+120
$LN4@PrtMsg:
; 224 : }
; 225 : if( CurrFile[ERR] ) {
mov r14, QWORD PTR [rsp+56]
test rax, rax
je SHORT $LN5@PrtMsg
; 226 : /... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 481 | 540 |
Terraspace/UASM:x64/Release/errmsg.asm:14 | buffer$ = 48
i$ = 816
fp$ = 816
severity$ = 824
msgnum$ = 832
args$ = 840
PutMsg PROC ; COMDAT
; 163 : int i,j;
; 164 : const char *type;
; 165 : const char *pMsg;
; 166 : char buffer[MAX_LINE_LEN+128];
; 167 :
; 168 : if( fp != NULL ) {
test rcx, rcx
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 521 | 580 |
Terraspace/UASM:x64/Release/errmsg.asm:15 | test eax, eax
je SHORT $LN5@PutMsg
; 171 : fwrite( buffer, 1, j, fp );
movsxd r8, eax
lea rcx, QWORD PTR buffer$[rsp]
mov r9, rsi
mov edx, 1
call fwrite
$LN5@PutMsg:
; 172 : }
; 173 : pMsg = MsgGetEx( msgnum );
mov ecx, ebx
call MsgGetEx
; 174 : switch (severity ) {
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 561 | 620 |
Terraspace/UASM:x64/Release/errmsg.asm:16 | ; 176 : case 2: type = MsgGetEx( MSG_ERROR_PREFIX ); break;
mov ecx, 4
jmp SHORT $LN19@PutMsg
$LN6@PutMsg:
; 175 : case 1: type = MsgGetEx( MSG_FATAL_PREFIX ); break;
mov ecx, 6
$LN19@PutMsg:
call MsgGetEx
; 179 : }
; 180 : if ( type )
test rax, rax
je SHORT $LN17@Pu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 601 | 660 |
Terraspace/UASM:x64/Release/errmsg.asm:17 | mov QWORD PTR [rsp+40], r15
or r14, -1
mov QWORD PTR [rsp+32], 0
mov r8, r14
mov rdx, rbx
mov rcx, QWORD PTR [rax]
or rcx, 1
call __stdio_common_vsprintf
test eax, eax
; 183 : //buffer[i] = NULLC;
; 184 :
; 185 : fwrite( buffer, 1, i, fp );
lea edx, QWORD PTR [r14+2]
mov r9, rsi
lea rcx,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 641 | 700 |
Terraspace/UASM:x64/Release/errmsg.asm:18 | test edi, edi
je SHORT $LN11@PutMsg
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN11@PutMsg
cmp rsi, QWORD PTR ModuleInfo+120
jne SHORT $LN11@PutMsg
; 192 : fp == CurrFile[ERR] ) {
; 193 : LstWrite( LSTTYPE_DIRECTIVE, GetCurrOffset(), 0 );
call GetCurrOffset
xor r8d, r8d
mov edx, eax
le... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 681 | 740 |
Terraspace/UASM:x64/Release/errmsg.asm:19 | _TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
_TEXT SEGMENT
WriteError PROC
; 346 : {
$LN4:
sub rsp, 40 ; 00000028H
; 347 : DebugMsg(("WriteError occured\n"));
; 348 : Fatal( FILE_WRITE_ERROR, CurrFName[OBJ], errno );
call _errno
mov rdx, QWORD P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 721 | 780 |
Terraspace/UASM:x64/Release/errmsg.asm:20 | mov BYTE PTR banner_printed, 1
call MsgGetEx
mov ecx, 2
mov rbx, rax
call MsgGetEx
mov rdx, rax
lea rcx, OFFSET FLAT:$SG10884
mov r8, rbx
call printf
$LN7@PrintUsage:
; 153 : for ( p = usage; *p != '\n'; ) {
lea rcx, OFFSET FLAT:usage
npad 10
$LL2@PrintUsage:
; 154 : const char *p2 = p + strl... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 761 | 820 |
Terraspace/UASM:x64/Release/errmsg.asm:21 | jne SHORT $LL13@PrintUsage
lea rcx, QWORD PTR [rbx+2]
add rcx, rax
cmp BYTE PTR [rcx], 10
jne SHORT $LL2@PrintUsage
; 157 : }
; 158 : }
add rsp, 32 ; 00000020H
pop rbx
ret 0
PrintUsage ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
_TEXT SEGMENT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 801 | 860 |
Terraspace/UASM:x64/Release/errmsg.asm:22 | lea rcx, OFFSET FLAT:$SG10884
mov r8, rbx
call printf
mov rbx, QWORD PTR [rsp+32]
; 143 : return( 4 ); /* return number of lines printed */
mov eax, 4
; 146 : }
add rsp, 40 ; 00000028H
ret 0
$LN2@write_logo:
; 144 : }
; 145 : return( 0 );
xor eax, eax
; 146 : }
add rsp, 40 ;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 841 | 900 |
Terraspace/UASM:x64/Release/errmsg.asm:23 | cmp DWORD PTR [rax], 2
jne SHORT $LN3@ErrnoStr
lea rax, OFFSET FLAT:$SG10989
; 302 : }
add rsp, 56 ; 00000038H
ret 0
$LN3@ErrnoStr:
; 300 : static char buffer[32];
; 301 : return( ( errno == ENOENT ) ? "ENOENT" : myltoa( errno, buffer, 10, FALSE, FALSE ) );
call _errno
xor r9d, r9d
mov BYTE PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 881 | 940 |
Terraspace/UASM:x64/Release/errmsg.asm:24 | sub rsp, 40 ; 00000028H
; 236 : va_list args1, args2;
; 237 :
; 238 : va_start( args1, msgnum );
; 239 : va_start( args2, msgnum );
; 240 :
; 241 : PrtMsg( 0, msgnum, args1, args2 );
mov edx, ecx
lea r8, QWORD PTR msgnum$[rsp+8]
xor ecx, ecx
lea r9, QWORD PTR msgnum$[rsp+8]
call PrtMsg
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 921 | 980 |
Terraspace/UASM:x64/Release/errmsg.asm:25 | ; 278 : if( level <= Options.warning_level ) {
movzx eax, BYTE PTR Options+13
cmp ecx, eax
jg SHORT $LN2@EmitWarn
; 279 : #ifdef DEBUG_OUT
; 280 : printf( "%s\n", ModuleInfo.tokenarray ? ModuleInfo.tokenarray[0].tokpos : "" );
; 281 : #endif
; 282 : va_start( args1, msgnum );
; 283 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 961 | 1,020 |
Terraspace/UASM:x64/Release/errmsg.asm:26 | ; 287 : } else {
; 288 : PrtMsg( 2, msgnum, args1, args2 );
mov ecx, 2
call PrtMsg
; 289 : ModuleInfo.g.error_count++;
inc DWORD PTR ModuleInfo
; 290 : }
; 291 : va_end( args1 );
; 292 : va_end( args2 );
; 293 : print_source_nesting_structure... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Release/errmsg.asm:27 | ; 249 : va_list args1, args2;
; 250 :
; 251 : #ifdef DEBUG_OUT
; 252 : printf( "%s\n", ModuleInfo.tokenarray ? ModuleInfo.tokenarray[0].tokpos : "" );
; 253 : #endif
; 254 : va_start( args1, msgnum );
; 255 : va_start( args2, msgnum );
; 256 : PrtMsg( 2, msgnum, args1, args2 );
mov edx, ec... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Release/errmsg.asm:28 | ; 264 : return( ERROR );
or eax, -1
; 265 : }
add rsp, 40 ; 00000028H
ret 0
$LN50@EmitErr:
; 263 : Fatal( TOO_MANY_ERRORS );
mov ecx, 113 ; 00000071H
call Fatal
int 3
$LN49@EmitErr:
EmitErr ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\err... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Release/errmsg.asm:29 | mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
sub rsp, 40 ; 00000028H
; 311 : va_list args1, args2;
; 312 :
; 313 : /* v2.11: call PrtMsg() instead of PutMsg().
; 314 : * Makes the fatal error appear in the .ERR and .LST files
; 315 : */
; 316 : va_start( args1, msgnum );
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Release/errmsg.asm:30 | lea rcx, OFFSET FLAT:jmpenv
call longjmp
int 3
$LN2@Fatal:
; 331 :
; 332 : exit(1);
mov ecx, 1
call exit
int 3
$LN49@Fatal:
Fatal ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT sprintf
_TEXT SEGMENT
_Buffer$ = 80
_Fo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Release/errmsg.asm:31 | ; 1780 :
; 1781 : #pragma warning(push)
; 1782 : #pragma warning(disable: 4996) // Deprecation
; 1783 : _Result = _vsprintf_l(_Buffer, _Format, NULL, _ArgList);
call __local_stdio_printf_options
mov r9, rbx
mov QWORD PTR [rsp+40], rsi
or rbx, -1
mov QWORD PTR [rsp+32], 0
mov r8, rbx
mov rdx, rdi
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Release/errmsg.asm:32 | ; 1473 : {
$LN6:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rsi
push rdi
sub rsp, 48 ; 00000030H
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
; 1474 : #pragma warning(push)
; 1475 : #pragma warning(disable: 4996) // Deprecation
; 1476 : return _vsnprintf_l(_Buffer, (size_t)-1, _Format, NULL, _... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Release/errmsg.asm:33 | ; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vsprintf_l
_TEXT SEGMENT
_Buffer$ = 64
_Format$ = 72
_Locale$ = 80
_ArgList$ = 88
_vsprintf_l PROC ; COMDAT
; 1455 : {
$LN6:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rbp
mov QWORD PTR [rsp+24], rsi
push rdi
su... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Release/errmsg.asm:34 | mov rbp, QWORD PTR [rsp+72]
test eax, eax
mov rsi, QWORD PTR [rsp+80]
cmovs eax, ebx
mov rbx, QWORD PTR [rsp+64]
add rsp, 48 ; 00000030H
pop rdi
ret 0
_vsprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vsnprin... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Release/errmsg.asm:35 | mov rcx, QWORD PTR [rax]
mov rax, QWORD PTR _ArgList$[rsp]
or rcx, 1
mov QWORD PTR [rsp+40], rax
mov QWORD PTR [rsp+32], rbx
call __stdio_common_vsprintf
; 1387 : _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION,
; 1388 : _Buffer, _BufferCount, _Format, _L... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Release/errmsg.asm:36 | push rdi
sub rsp, 48 ; 00000030H
mov rdi, rcx
; 951 : int _Result;
; 952 : va_list _ArgList;
; 953 : __crt_va_start(_ArgList, _Format);
lea rsi, QWORD PTR _Format$[rsp+8]
; 954 : _Result = _vfprintf_l(stdout, _Format, NULL, _ArgList);
mov ecx, 1
call __acrt_iob_func
mov rbx, rax
call ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Release/errmsg.asm:37 | _Locale$ = 80
_ArgList$ = 88
_vfprintf_l PROC ; COMDAT
; 638 : {
$LN4:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rbp
mov QWORD PTR [rsp+24], rsi
push rdi
sub rsp, 48 ; 00000030H
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
; 639 : return __stdio_common_vfprintf(_CRT_INTERNAL_LOCA... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 1,441 | 1,494 |
Terraspace/UASM:x64/Release/errmsg.asm:38 | _TEXT SEGMENT
__local_stdio_printf_options PROC ; COMDAT
; 74 : static unsigned __int64 _OptionsStorage;
; 75 : return &_OptionsStorage;
lea rax, OFFSET FLAT:?_OptionsStorage@?1??__local_stdio_printf_options@@9@9 ; `__local_stdio_printf_options'::`2'::_OptionsStorage
; 76 : }
ret 0
__local_stdio_p... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/errmsg.asm | 1,481 | 1,494 |
Terraspace/UASM:x64/Release/errmsg.asm:11 | mov r14, r8
jne SHORT $LN8@PrtMsg
mov ecx, 3
mov BYTE PTR banner_printed, 1
call MsgGetEx
mov ecx, 2
mov rbx, rax
call MsgGetEx
mov rdx, rax
lea rcx, OFFSET FLAT:$SG10884
mov r8, rbx
call printf
$LN8@PrtMsg:
; 206 : #endif
; 207 : /* open .err file if not already open and a name is given */
; 208 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/errmsg.asm | 401 | 460 |
Terraspace/UASM:x64/Release/errmsg.asm:12 | ; 213 : CurrFName[ERR] = NULL; /* set to NULL before EmitErr()! */
mov QWORD PTR ModuleInfo+152, rax
; 214 : Options.no_error_disp = FALSE; /* disable -eq! */
mov BYTE PTR Options+12, al
; 215 : EmitErr( CANNOT_OPEN_FILE, p, ErrnoStr() );
call ErrnoStr
mov r8, rax
mov rd... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/errmsg.asm | 441 | 500 |
Terraspace/UASM:x64/Release/errmsg.asm:18 | test edi, edi
je SHORT $LN11@PutMsg
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN11@PutMsg
cmp rsi, QWORD PTR ModuleInfo+120
jne SHORT $LN11@PutMsg
; 192 : fp == CurrFile[ERR] ) {
; 193 : LstWrite( LSTTYPE_DIRECTIVE, GetCurrOffset(), 0 );
call GetCurrOffset
xor r8d, r8d
mov edx, eax
le... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/errmsg.asm | 681 | 740 |
Terraspace/UASM:x64/Release/errmsg.asm:19 | _TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
_TEXT SEGMENT
WriteError PROC
; 346 : {
$LN4:
sub rsp, 40 ; 00000028H
; 347 : DebugMsg(("WriteError occured\n"));
; 348 : Fatal( FILE_WRITE_ERROR, CurrFName[OBJ], errno );
call _errno
mov rdx, QWORD P... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/errmsg.asm | 721 | 780 |
Terraspace/UASM:x64/Release/errmsg.asm:27 | ; 249 : va_list args1, args2;
; 250 :
; 251 : #ifdef DEBUG_OUT
; 252 : printf( "%s\n", ModuleInfo.tokenarray ? ModuleInfo.tokenarray[0].tokpos : "" );
; 253 : #endif
; 254 : va_start( args1, msgnum );
; 255 : va_start( args2, msgnum );
; 256 : PrtMsg( 2, msgnum, args1, args2 );
mov edx, ec... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/errmsg.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Release/errmsg.asm:28 | ; 264 : return( ERROR );
or eax, -1
; 265 : }
add rsp, 40 ; 00000028H
ret 0
$LN50@EmitErr:
; 263 : Fatal( TOO_MANY_ERRORS );
mov ecx, 114 ; 00000072H
call Fatal
int 3
$LN49@EmitErr:
EmitErr ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\err... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/errmsg.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Release/errmsg.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC banner_printed
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_BSS SEGMENT
banner_printed DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG10882 DB '%s, %s', 0aH... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1 | 60 |
Terraspace/UASM:x64/Release/errmsg.asm:2 | DB 'isplay error messages', 00H, '-Fd[=<file_name>]', 00H, 'Write'
DB ' import definition file', 00H, '-Fi<file_name>', 00H, 'Force '
DB '<file_name> to be included', 00H, '-Fl[=<file_name>]', 00H, 'W'
DB 'rite listing file', 00H, '-Fo<file_name>', 00H, 'Set object f'
DB 'ile name', 00H, '-Fw<file_name>', 00H, 'Set... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 41 | 100 |
Terraspace/UASM:x64/Release/errmsg.asm:3 | DB 'Set structure alignment, n=<1|2|4|8|16|32>', 00H, '-Zs', 00H, 'P'
DB 'erform syntax check only', 00H, '-zt<0|1|2>', 00H, 'Set STDCA'
DB 'LL symbol decoration: 0=No name decoration,', 00H, 00H, '1=No'
DB ' ''@size'' suffix for functions, 2=Full (default)', 00H, '-Zv'
DB '8', 00H, 'Enable Masm v8+ PROC visibility... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 81 | 140 |
Terraspace/UASM:x64/Release/errmsg.asm:4 | EXTRN LstWrite:PROC
EXTRN LstPrintf:PROC
EXTRN LstNL:PROC
EXTRN GetCurrOffset:PROC
EXTRN print_source_nesting_structure:PROC
EXTRN Options:BYTE
EXTRN ModuleInfo:BYTE
EXTRN Parse_Pass:DWORD
EXTRN write_to_file:BYTE
EXTRN jmpenv:BYTE
_DATA SEGMENT
COMM ?_OptionsStorage@?1??__local_stdio_printf_options@@9@9:QWORD ; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 121 | 180 |
Terraspace/UASM:x64/Release/errmsg.asm:5 | DD imagerel $unwind$_vsprintf_l
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$vsprintf DD imagerel $LN6
DD imagerel $LN6+89
DD imagerel $unwind$vsprintf
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$sprintf DD imagerel $LN8
DD imagerel $LN8+90
DD imagerel $unwind$sprintf
pdata ENDS
pdata SEGMENT
$pdata$Fatal DD i... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 161 | 220 |
Terraspace/UASM:x64/Release/errmsg.asm:6 | DD imagerel $LN16+156
DD imagerel $unwind$PrintUsage
$pdata$WriteError DD imagerel $LN4
DD imagerel $LN4+30
DD imagerel $unwind$WriteError
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$PutMsg DD imagerel PutMsg
DD imagerel PutMsg+27
DD imagerel $unwind$PutMsg
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$1$PutMs... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 201 | 260 |
Terraspace/UASM:x64/Release/errmsg.asm:7 | DD imagerel $chain$2$PrtMsg
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$3$PrtMsg DD imagerel PrtMsg+263
DD imagerel PrtMsg+295
DD imagerel $chain$3$PrtMsg
pdata ENDS
; COMDAT xdata
xdata SEGMENT
$chain$3$PrtMsg DD 021H
DD imagerel PrtMsg
DD imagerel PrtMsg+25
DD imagerel $unwind$PrtMsg
xdata ENDS
; COMDAT xdata... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 241 | 300 |
Terraspace/UASM:x64/Release/errmsg.asm:8 | xdata SEGMENT
$chain$2$PutMsg DD 021H
DD imagerel PutMsg
DD imagerel PutMsg+27
DD imagerel $unwind$PutMsg
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$chain$1$PutMsg DD 040b21H
DD 068e40bH
DD 0675404H
DD imagerel PutMsg
DD imagerel PutMsg+27
DD imagerel $unwind$PutMsg
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 281 | 340 |
Terraspace/UASM:x64/Release/errmsg.asm:9 | DD imagerel $unwind$write_logo
$chain$1$write_logo DD 021H
DD imagerel $LN5
DD imagerel $LN5+18
DD imagerel $unwind$write_logo
$unwind$PrintUsage DD 020601H
DD 030023206H
$unwind$WriteError DD 010401H
DD 04204H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$sprintf DD 041601H
DD 070125216H
DD 030106011H
xdata E... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 321 | 380 |
Terraspace/UASM:x64/Release/errmsg.asm:10 | xdata SEGMENT
$unwind$printf DD 041b01H
DD 07017521bH
DD 030156016H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vfprintf_l DD 081401H
DD 0a6414H
DD 095414H
DD 083414H
DD 070105214H
xdata ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
; COMDAT PrtMsg
_TEXT SEGMENT
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 361 | 420 |
Terraspace/UASM:x64/Release/errmsg.asm:11 | jne SHORT $LN8@PrtMsg
mov ecx, 3
mov BYTE PTR banner_printed, 1
call MsgGetEx
mov ecx, 2
mov rbx, rax
call MsgGetEx
mov rdx, rax
lea rcx, OFFSET FLAT:$SG10882
mov r8, rbx
call printf
$LN8@PrtMsg:
; 206 : #endif
; 207 : /* open .err file if not already open and a name is given */
; 208 : if( CurrFi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 401 | 460 |
Terraspace/UASM:x64/Release/errmsg.asm:12 | ; 213 : CurrFName[ERR] = NULL; /* set to NULL before EmitErr()! */
mov QWORD PTR ModuleInfo+152, rax
; 214 : Options.no_error_disp = FALSE; /* disable -eq! */
mov BYTE PTR Options+12, al
; 215 : EmitErr( CANNOT_OPEN_FILE, p, ErrnoStr() );
call ErrnoStr
mov r8, rax
mov rd... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 441 | 500 |
Terraspace/UASM:x64/Release/errmsg.asm:13 | mov ecx, 1
call __acrt_iob_func
mov rcx, rax
call fflush
mov rax, QWORD PTR ModuleInfo+120
$LN4@PrtMsg:
; 224 : }
; 225 : if( CurrFile[ERR] ) {
mov r14, QWORD PTR [rsp+56]
test rax, rax
je SHORT $LN5@PrtMsg
; 226 : //Errfile_Written = TRUE;
; 227 : PutMsg( CurrFile[ERR], severity, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 481 | 540 |
Terraspace/UASM:x64/Release/errmsg.asm:14 | i$ = 816
fp$ = 816
severity$ = 824
msgnum$ = 832
args$ = 840
PutMsg PROC ; COMDAT
; 163 : int i,j;
; 164 : const char *type;
; 165 : const char *pMsg;
; 166 : char buffer[MAX_LINE_LEN+128];
; 167 :
; 168 : if( fp != NULL ) {
test rcx, rcx
je $LN18@PutM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 521 | 580 |
Terraspace/UASM:x64/Release/errmsg.asm:15 | je SHORT $LN5@PutMsg
; 171 : fwrite( buffer, 1, j, fp );
movsxd r8, eax
lea rcx, QWORD PTR buffer$[rsp]
mov r9, rsi
mov edx, 1
call fwrite
$LN5@PutMsg:
; 172 : }
; 173 : pMsg = MsgGetEx( msgnum );
mov ecx, ebx
call MsgGetEx
; 174 : switch (severity ) {
mov edx, edi
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 561 | 620 |
Terraspace/UASM:x64/Release/errmsg.asm:16 | ; 176 : case 2: type = MsgGetEx( MSG_ERROR_PREFIX ); break;
mov ecx, 4
jmp SHORT $LN19@PutMsg
$LN6@PutMsg:
; 175 : case 1: type = MsgGetEx( MSG_FATAL_PREFIX ); break;
mov ecx, 6
$LN19@PutMsg:
call MsgGetEx
; 179 : }
; 180 : if ( type )
test rax, rax
je SHORT $LN17@Pu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 601 | 660 |
Terraspace/UASM:x64/Release/errmsg.asm:17 | or r14, -1
mov QWORD PTR [rsp+32], 0
mov r8, r14
mov rdx, rbx
mov rcx, QWORD PTR [rax]
or rcx, 1
call __stdio_common_vsprintf
test eax, eax
; 183 : //buffer[i] = NULLC;
; 184 :
; 185 : fwrite( buffer, 1, i, fp );
lea edx, QWORD PTR [r14+2]
mov r9, rsi
lea rcx, QWORD PTR buffer$[rsp]
cmov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 641 | 700 |
Terraspace/UASM:x64/Release/errmsg.asm:18 | je SHORT $LN11@PutMsg
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN11@PutMsg
cmp rsi, QWORD PTR ModuleInfo+120
jne SHORT $LN11@PutMsg
; 192 : fp == CurrFile[ERR] ) {
; 193 : LstWrite( LSTTYPE_DIRECTIVE, GetCurrOffset(), 0 );
call GetCurrOffset
xor r8d, r8d
mov edx, eax
lea ecx, QWORD PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 681 | 740 |
Terraspace/UASM:x64/Release/errmsg.asm:19 | ; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
_TEXT SEGMENT
WriteError PROC
; 346 : {
$LN4:
sub rsp, 40 ; 00000028H
; 347 : DebugMsg(("WriteError occured\n"));
; 348 : Fatal( FILE_WRITE_ERROR, CurrFName[OBJ], errno );
call _errno
mov rdx, QWORD PTR ModuleIn... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 721 | 780 |
Terraspace/UASM:x64/Release/errmsg.asm:20 | call MsgGetEx
mov ecx, 2
mov rbx, rax
call MsgGetEx
mov rdx, rax
lea rcx, OFFSET FLAT:$SG10882
mov r8, rbx
call printf
$LN7@PrintUsage:
; 153 : for ( p = usage; *p != '\n'; ) {
lea rcx, OFFSET FLAT:usage
npad 10
$LL2@PrintUsage:
; 154 : const char *p2 = p + strlen( p ) + 1;
or rax, -1
$LL14@... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 761 | 820 |
Terraspace/UASM:x64/Release/errmsg.asm:21 | lea rcx, QWORD PTR [rbx+2]
add rcx, rax
cmp BYTE PTR [rcx], 10
jne SHORT $LL2@PrintUsage
; 157 : }
; 158 : }
add rsp, 32 ; 00000020H
pop rbx
ret 0
PrintUsage ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
_TEXT SEGMENT
write_logo PROC
; 139 : {... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 801 | 860 |
Terraspace/UASM:x64/Release/errmsg.asm:22 | mov r8, rbx
call printf
mov rbx, QWORD PTR [rsp+32]
; 143 : return( 4 ); /* return number of lines printed */
mov eax, 4
; 146 : }
add rsp, 40 ; 00000028H
ret 0
$LN2@write_logo:
; 144 : }
; 145 : return( 0 );
xor eax, eax
; 146 : }
add rsp, 40 ; 00000028H
ret 0
write_logo EN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 841 | 900 |
Terraspace/UASM:x64/Release/errmsg.asm:23 | jne SHORT $LN3@ErrnoStr
lea rax, OFFSET FLAT:$SG10987
; 302 : }
add rsp, 56 ; 00000038H
ret 0
$LN3@ErrnoStr:
; 300 : static char buffer[32];
; 301 : return( ( errno == ENOENT ) ? "ENOENT" : myltoa( errno, buffer, 10, FALSE, FALSE ) );
call _errno
xor r9d, r9d
mov BYTE PTR [rsp+32], 0
lea rdx, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 881 | 940 |
Terraspace/UASM:x64/Release/errmsg.asm:24 | ; 236 : va_list args1, args2;
; 237 :
; 238 : va_start( args1, msgnum );
; 239 : va_start( args2, msgnum );
; 240 :
; 241 : PrtMsg( 0, msgnum, args1, args2 );
mov edx, ecx
lea r8, QWORD PTR msgnum$[rsp+8]
xor ecx, ecx
lea r9, QWORD PTR msgnum$[rsp+8]
call PrtMsg
; 242 : va_end( args1 )... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 921 | 980 |
Terraspace/UASM:x64/Release/errmsg.asm:25 | movzx eax, BYTE PTR Options+13
cmp ecx, eax
jg SHORT $LN2@EmitWarn
; 279 : #ifdef DEBUG_OUT
; 280 : printf( "%s\n", ModuleInfo.tokenarray ? ModuleInfo.tokenarray[0].tokpos : "" );
; 281 : #endif
; 282 : va_start( args1, msgnum );
; 283 : va_start( args2, msgnum );
; 284 : if( !O... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 961 | 1,020 |
Terraspace/UASM:x64/Release/errmsg.asm:26 | ; 287 : } else {
; 288 : PrtMsg( 2, msgnum, args1, args2 );
mov ecx, 2
call PrtMsg
; 289 : ModuleInfo.g.error_count++;
inc DWORD PTR ModuleInfo
; 290 : }
; 291 : va_end( args1 );
; 292 : va_end( args2 );
; 293 : print_source_nesting_structure... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Release/errmsg.asm:27 | ; 249 : va_list args1, args2;
; 250 :
; 251 : #ifdef DEBUG_OUT
; 252 : printf( "%s\n", ModuleInfo.tokenarray ? ModuleInfo.tokenarray[0].tokpos : "" );
; 253 : #endif
; 254 : va_start( args1, msgnum );
; 255 : va_start( args2, msgnum );
; 256 : PrtMsg( 2, msgnum, args1, args2 );
mov edx, ec... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Release/errmsg.asm:28 | or eax, -1
; 265 : }
add rsp, 40 ; 00000028H
ret 0
$LN50@EmitErr:
; 263 : Fatal( TOO_MANY_ERRORS );
mov ecx, 113 ; 00000071H
call Fatal
int 3
$LN49@EmitErr:
EmitErr ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
_TEXT SEGMENT
msgnum$ = 8
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Release/errmsg.asm:29 | mov QWORD PTR [rsp+32], r9
sub rsp, 40 ; 00000028H
; 311 : va_list args1, args2;
; 312 :
; 313 : /* v2.11: call PrtMsg() instead of PutMsg().
; 314 : * Makes the fatal error appear in the .ERR and .LST files
; 315 : */
; 316 : va_start( args1, msgnum );
; 317 : va_start( args2... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Release/errmsg.asm:30 | call longjmp
int 3
$LN2@Fatal:
; 331 :
; 332 : exit(1);
mov ecx, 1
call exit
int 3
$LN49@Fatal:
Fatal ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT sprintf
_TEXT SEGMENT
_Buffer$ = 80
_Format$ = 88
sprintf PROC ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Release/errmsg.asm:31 | ; 1780 :
; 1781 : #pragma warning(push)
; 1782 : #pragma warning(disable: 4996) // Deprecation
; 1783 : _Result = _vsprintf_l(_Buffer, _Format, NULL, _ArgList);
call __local_stdio_printf_options
mov r9, rbx
mov QWORD PTR [rsp+40], rsi
or rbx, -1
mov QWORD PTR [rsp+32], 0
mov r8, rbx
mov rdx, rdi
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Release/errmsg.asm:32 | ; 1473 : {
$LN6:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rsi
push rdi
sub rsp, 48 ; 00000030H
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
; 1474 : #pragma warning(push)
; 1475 : #pragma warning(disable: 4996) // Deprecation
; 1476 : return _vsnprintf_l(_Buffer, (size_t)-1, _Format, NULL, _... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Release/errmsg.asm:33 | ; COMDAT _vsprintf_l
_TEXT SEGMENT
_Buffer$ = 64
_Format$ = 72
_Locale$ = 80
_ArgList$ = 88
_vsprintf_l PROC ; COMDAT
; 1455 : {
$LN6:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rbp
mov QWORD PTR [rsp+24], rsi
push rdi
sub rsp, 48 ; 00000030H
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Release/errmsg.asm:34 | test eax, eax
mov rsi, QWORD PTR [rsp+80]
cmovs eax, ebx
mov rbx, QWORD PTR [rsp+64]
add rsp, 48 ; 00000030H
pop rdi
ret 0
_vsprintf_l ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File c:\program files (x86)\windows kits\10\include\10.0.10150.0\ucrt\stdio.h
; COMDAT _vsnprintf_l
_TEXT SEGMENT
_Buffer$ =... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Release/errmsg.asm:35 | mov rax, QWORD PTR _ArgList$[rsp]
or rcx, 1
mov QWORD PTR [rsp+40], rax
mov QWORD PTR [rsp+32], rbx
call __stdio_common_vsprintf
; 1387 : _CRT_INTERNAL_LOCAL_PRINTF_OPTIONS | _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION,
; 1388 : _Buffer, _BufferCount, _Format, _Locale, _ArgList);
; 1389 :... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Release/errmsg.asm:36 | sub rsp, 48 ; 00000030H
mov rdi, rcx
; 951 : int _Result;
; 952 : va_list _ArgList;
; 953 : __crt_va_start(_ArgList, _Format);
lea rsi, QWORD PTR _Format$[rsp+8]
; 954 : _Result = _vfprintf_l(stdout, _Format, NULL, _ArgList);
mov ecx, 1
call __acrt_iob_func
mov rbx, rax
call __local_st... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Release/errmsg.asm:37 | _ArgList$ = 88
_vfprintf_l PROC ; COMDAT
; 638 : {
$LN4:
mov QWORD PTR [rsp+8], rbx
mov QWORD PTR [rsp+16], rbp
mov QWORD PTR [rsp+24], rsi
push rdi
sub rsp, 48 ; 00000030H
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
; 639 : return __stdio_common_vfprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1,441 | 1,493 |
Terraspace/UASM:x64/Release/errmsg.asm:38 | __local_stdio_printf_options PROC ; COMDAT
; 74 : static unsigned __int64 _OptionsStorage;
; 75 : return &_OptionsStorage;
lea rax, OFFSET FLAT:?_OptionsStorage@?1??__local_stdio_printf_options@@9@9 ; `__local_stdio_printf_options'::`2'::_OptionsStorage
; 76 : }
ret 0
__local_stdio_printf_options ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/errmsg.asm | 1,481 | 1,493 |
Terraspace/UASM:x64/Release/errmsg.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC banner_printed
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_BSS SEGMENT
banner_printed DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG10877 DB '%s, %s', 0aH... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/errmsg.asm | 1 | 60 |
Terraspace/UASM:x64/Release/errmsg.asm:10 | xdata SEGMENT
$unwind$printf DD 041b01H
DD 07017521bH
DD 030156016H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$_vfprintf_l DD 081401H
DD 0a6414H
DD 095414H
DD 083414H
DD 070105214H
xdata ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
; COMDAT PrtMsg
_TEXT SEGMENT
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/errmsg.asm | 361 | 420 |
Terraspace/UASM:x64/Release/errmsg.asm:11 | jne SHORT $LN8@PrtMsg
mov ecx, 3
mov BYTE PTR banner_printed, 1
call MsgGetEx
mov ecx, 2
mov rbx, rax
call MsgGetEx
mov rdx, rax
lea rcx, OFFSET FLAT:$SG10877
mov r8, rbx
call printf
$LN8@PrtMsg:
; 206 : #endif
; 207 : /* open .err file if not already open and a name is given */
; 208 : if( CurrFi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/errmsg.asm | 401 | 460 |
Terraspace/UASM:x64/Release/errmsg.asm:16 | ; 176 : case 2: type = MsgGetEx( MSG_ERROR_PREFIX ); break;
mov ecx, 4
jmp SHORT $LN19@PutMsg
$LN6@PutMsg:
; 175 : case 1: type = MsgGetEx( MSG_FATAL_PREFIX ); break;
mov ecx, 6
$LN19@PutMsg:
call MsgGetEx
; 179 : }
; 180 : if ( type )
test rax, rax
je SHORT $LN17@Pu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/errmsg.asm | 601 | 660 |
Terraspace/UASM:x64/Release/errmsg.asm:17 | or r14, -1
mov QWORD PTR [rsp+32], 0
mov r8, r14
mov rdx, rbx
mov rcx, QWORD PTR [rax]
or rcx, 1
call __stdio_common_vsprintf
test eax, eax
; 183 : //buffer[i] = NULLC;
; 184 :
; 185 : fwrite( buffer, 1, i, fp );
lea edx, QWORD PTR [r14+2]
mov r9, rsi
lea rcx, QWORD PTR buffer$[rsp]
cmov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/errmsg.asm | 641 | 700 |
Terraspace/UASM:x64/Release/errmsg.asm:18 | je SHORT $LN11@PutMsg
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN11@PutMsg
cmp rsi, QWORD PTR ModuleInfo+120
jne SHORT $LN11@PutMsg
; 192 : fp == CurrFile[ERR] ) {
; 193 : LstWrite( LSTTYPE_DIRECTIVE, GetCurrOffset(), 0 );
call GetCurrOffset
xor r8d, r8d
mov edx, eax
lea ecx, QWORD PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/errmsg.asm | 681 | 740 |
Terraspace/UASM:x64/Release/errmsg.asm:19 | ; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
_TEXT SEGMENT
WriteError PROC
; 346 : {
$LN4:
sub rsp, 40 ; 00000028H
; 347 : DebugMsg(("WriteError occured\n"));
; 348 : Fatal( FILE_WRITE_ERROR, CurrFName[OBJ], errno );
call _errno
mov rdx, QWORD PTR ModuleIn... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/errmsg.asm | 721 | 780 |
Terraspace/UASM:x64/Release/errmsg.asm:20 | call MsgGetEx
mov ecx, 2
mov rbx, rax
call MsgGetEx
mov rdx, rax
lea rcx, OFFSET FLAT:$SG10877
mov r8, rbx
call printf
$LN7@PrintUsage:
; 153 : for ( p = usage; *p != '\n'; ) {
lea rcx, OFFSET FLAT:usage
npad 10
$LL2@PrintUsage:
; 154 : const char *p2 = p + strlen( p ) + 1;
or rax, -1
$LL14@... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/errmsg.asm | 761 | 820 |
Terraspace/UASM:x64/Release/errmsg.asm:21 | lea rcx, QWORD PTR [rbx+2]
add rcx, rax
cmp BYTE PTR [rcx], 10
jne SHORT $LL2@PrintUsage
; 157 : }
; 158 : }
add rsp, 32 ; 00000020H
pop rbx
ret 0
PrintUsage ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\errmsg.c
_TEXT SEGMENT
write_logo PROC
; 139 : {... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/errmsg.asm | 801 | 860 |
Terraspace/UASM:x64/Release/errmsg.asm:22 | mov r8, rbx
call printf
mov rbx, QWORD PTR [rsp+32]
; 143 : return( 4 ); /* return number of lines printed */
mov eax, 4
; 146 : }
add rsp, 40 ; 00000028H
ret 0
$LN2@write_logo:
; 144 : }
; 145 : return( 0 );
xor eax, eax
; 146 : }
add rsp, 40 ; 00000028H
ret 0
write_logo EN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/errmsg.asm | 841 | 900 |
Terraspace/UASM:x64/Release/errmsg.asm:23 | jne SHORT $LN3@ErrnoStr
lea rax, OFFSET FLAT:$SG10982
; 302 : }
add rsp, 56 ; 00000038H
ret 0
$LN3@ErrnoStr:
; 300 : static char buffer[32];
; 301 : return( ( errno == ENOENT ) ? "ENOENT" : myltoa( errno, buffer, 10, FALSE, FALSE ) );
call _errno
xor r9d, r9d
mov BYTE PTR [rsp+32], 0
lea rdx, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/errmsg.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/errmsg.asm | 881 | 940 |
Terraspace/UASM:x64/Release/fastpass.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM LineStoreCurr:QWORD
COMM StoreState:BYTE
COMM UseSavedState:BYTE
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SE... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 1 | 60 |
Terraspace/UASM:x64/Release/fastpass.asm:2 | modstate DB 01e0H DUP (?)
LineStore DB 010H DUP (?)
_BSS ENDS
pdata SEGMENT
$pdata$StoreLine DD imagerel $LN31
DD imagerel $LN31+45
DD imagerel $unwind$StoreLine
$pdata$0$StoreLine DD imagerel $LN31+45
DD imagerel $LN31+50
DD imagerel $chain$0$StoreLine
$pdata$1$StoreLine DD imagerel $LN31+50
DD imagerel $LN31+326... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 41 | 100 |
Terraspace/UASM:x64/Release/fastpass.asm:3 | DD 085410H
DD 0e00c3210H
$chain$0$StoreLine DD 020521H
DD 063405H
DD imagerel $LN31
DD imagerel $LN31+45
DD imagerel $unwind$StoreLine
$chain$1$StoreLine DD 020521H
DD 077405H
DD imagerel $LN31+45
DD imagerel $LN31+50
DD imagerel $chain$0$StoreLine
$chain$2$StoreLine DD 021H
DD imagerel $LN31+45
DD imagerel ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 81 | 140 |
Terraspace/UASM:x64/Release/fastpass.asm:4 | xor eax, eax
mov BYTE PTR StoreState, 1
mov QWORD PTR modstate+16, rax
; 57 :
; 58 : memcpy( &modstate.modinfo, (uint_8 *)&ModuleInfo + sizeof( struct module_vars ), sizeof( modstate.modinfo ) );
lea rdx, OFFSET FLAT:modstate+24
mov QWORD PTR modstate+8, rax
mov ecx, 3
lea rax, OFFSET FLAT:ModuleInfo+32... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 121 | 180 |
Terraspace/UASM:x64/Release/fastpass.asm:5 | movups xmm0, XMMWORD PTR [rax+32]
movups XMMWORD PTR [rdx+16], xmm1
movups xmm1, XMMWORD PTR [rax+48]
movups XMMWORD PTR [rdx+32], xmm0
movups XMMWORD PTR [rdx+48], xmm1
mov QWORD PTR [rdx+64], rcx
; 59 :
; 60 : SegmentSaveState();
call SegmentSaveState
; 61 : AssumeSaveState();
call AssumeSave... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 161 | 220 |
Terraspace/UASM:x64/Release/fastpass.asm:6 | ; 143 :
; 144 : DebugMsg1(( "SaveVariableState(%s)=%d\n", sym->name, sym->value ));
; 145 : sym->issaved = TRUE; /* don't try to save this symbol (anymore) */
or BYTE PTR [rcx+41], 16
mov rbx, rcx
; 146 : p = LclAlloc( sizeof( struct equ_item ) );
mov ecx, 32 ; 00000020H
call LclAlloc
; 147 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 201 | 260 |
Terraspace/UASM:x64/Release/fastpass.asm:7 | mov BYTE PTR [rax+28], cl
; 153 : if ( modstate.Equ.tail ) {
mov rcx, QWORD PTR modstate+16
test rcx, rcx
je SHORT $LN2@SaveVariab
; 154 : modstate.Equ.tail->next = p;
mov QWORD PTR [rcx], rax
; 155 : modstate.Equ.tail = p;
; 156 : } else {
; 157 : modstate.Equ.head = modst... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 241 | 300 |
Terraspace/UASM:x64/Release/fastpass.asm:8 | ret 0
SaveVariableState ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\fastpass.c
_TEXT SEGMENT
RestoreState PROC
; 164 : {
$LN14:
sub rsp, 40 ; 00000028H
; 165 : DebugMsg1(("RestoreState enter\n"));
; 166 : if ( modstate.init ) {
cmp BYTE PTR modstate... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 281 | 340 |
Terraspace/UASM:x64/Release/fastpass.asm:9 | mov rcx, QWORD PTR [rdx+8]
mov eax, DWORD PTR [rdx+20]
mov DWORD PTR [rcx+56], eax
; 175 : curr->sym->mem_type = curr->mem_type; /* v2.07: added */
mov rcx, QWORD PTR [rdx+8]
mov eax, DWORD PTR [rdx+24]
mov DWORD PTR [rcx+36], eax
; 176 : curr->sym->isdefined = curr->isdefined... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 321 | 380 |
Terraspace/UASM:x64/Release/fastpass.asm:10 | movups XMMWORD PTR [rdx-128], xmm0
movups xmm0, XMMWORD PTR [rax-96]
movups XMMWORD PTR [rdx-112], xmm1
movups xmm1, XMMWORD PTR [rax-80]
movups XMMWORD PTR [rdx-96], xmm0
movups xmm0, XMMWORD PTR [rax-64]
movups XMMWORD PTR [rdx-80], xmm1
movups xmm1, XMMWORD PTR [rax-48]
movups XMMWORD PTR [rdx-64], xmm0
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 361 | 420 |
Terraspace/UASM:x64/Release/fastpass.asm:11 | ; 190 : if ( LineStore.head == NULL ) {
; 191 : struct line_item *endl = LclAlloc( sizeof( struct line_item ) + 3 );
; 192 : endl->next = NULL;
; 193 : endl->srcfile = 0;
; 194 : endl->lineno = GetLineNumber();
; 195 : endl->list_pos = 0;
; 196 : strcpy( endl->... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 401 | 460 |
Terraspace/UASM:x64/Release/fastpass.asm:12 | flags$ = 56
lst_position$ = 64
StoreLine PROC
; 69 : {
$LN31:
mov QWORD PTR [rsp+24], rbp
mov QWORD PTR [rsp+32], rsi
push r14
sub rsp, 32 ; 00000020H
; 70 : int i,j;
; 71 : char *p;
; 72 :
; 73 : #ifdef DEBUG_OUT
; 74 : if ( Options.nofastpass )
; 75 : return;
; 76 : #end... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 441 | 500 |
Terraspace/UASM:x64/Release/fastpass.asm:13 | ; 81 :
; 82 : i = strlen( srcline );
or rdi, -1
mov rbx, rdi
$LL25@StoreLine:
inc rbx
cmp BYTE PTR [rsi+rbx], 0
jne SHORT $LL25@StoreLine
; 83 : j = ( ( ( flags & 1 ) && ModuleInfo.CurrComment ) ? strlen( ModuleInfo.CurrComment ) : 0 );
test r14b, 1
je SHORT $LN17@StoreLine
mov rax, QWORD PTR M... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 481 | 540 |
Terraspace/UASM:x64/Release/fastpass.asm:14 | call GetLineNumber
mov rdx, QWORD PTR LineStoreCurr
mov ecx, DWORD PTR [rdx+8]
xor ecx, eax
and ecx, 1048575 ; 000fffffH
xor DWORD PTR [rdx+8], ecx
; 87 : if ( MacroLevel ) {
cmp BYTE PTR MacroLevel, 0
je SHORT $LN7@StoreLine
; 88 : LineStoreCurr->srcfile = 0xfff;
mov rax, QWORD PTR LineS... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 521 | 580 |
Terraspace/UASM:x64/Release/fastpass.asm:15 | ; 93 : if ( j ) {
; 94 : memcpy( LineStoreCurr->line, srcline, i );
mov rdx, rsi
cmovne ecx, ebp
mov DWORD PTR [rax+12], ecx
mov rcx, QWORD PTR LineStoreCurr
add rcx, 16
test edi, edi
je SHORT $LN9@StoreLine
movsxd rbx, ebx
mov r8, rbx
call memcpy
; 95 : memcpy( LineStoreCurr->line... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/fastpass.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Release/fastpass.asm | 561 | 620 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.