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/Debug/loop.asm:37 | mov rcx, QWORD PTR ptr$[rbp]
movzx ecx, BYTE PTR [rcx]
mov BYTE PTR buffer$[rbp+rax], cl
; 247 : tokenarray[0].stringlen = 2;
mov eax, 32 ; 00000020H
imul rax, rax, 0
mov rcx, QWORD PTR tokenarray$[rbp]
mov DWORD PTR [rcx+rax+16], 2
; 248 : tokenarray[1].tokpos = buffer+2;... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/loop.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Debug/loop.asm:38 | lea rax, QWORD PTR buffer$[rbp+1]
mov ecx, 32 ; 00000020H
imul rcx, rcx, 1
mov rdx, QWORD PTR tokenarray$[rbp]
mov QWORD PTR [rdx+rcx+24], rax
; 253 : buffer[1] = NULLC;
mov QWORD PTR $T13[rbp], 1
cmp QWORD PTR $T13[rbp], 4
jae SHORT $LN69@LoopDirect
jmp SHORT $LN70@LoopDirect
$LN69@LoopD... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/loop.asm | 1,481 | 1,540 |
Terraspace/UASM:x64/Debug/loop.asm:39 | jmp SHORT $LN18@LoopDirect
$LN58@LoopDirect:
; 258 : DebugMsg1(("LoopDirective FORC: call RunMacro(), cnt=%" I32_SPEC "u, param=>%s<\n", count++, buffer ));
mov eax, DWORD PTR count$[rbp]
mov DWORD PTR tv534[rbp], eax
mov eax, DWORD PTR count$[rbp]
inc eax
mov DWORD PTR count$[rbp], eax
lea r8, QWO... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/loop.asm | 1,521 | 1,580 |
Terraspace/UASM:x64/Debug/loop.asm:40 | mov r9d, 3
mov r8, QWORD PTR tokenarray$[rbp]
mov edx, DWORD PTR i$[rbp]
mov rcx, QWORD PTR parmstring$[rbp]
call Tokenize
mov DWORD PTR ModuleInfo+496, eax
; 264 : DebugMsg1(("LoopDirective FOR: full param=>%s<\n", tokenarray[i].tokpos ));
movsxd rax, DWORD PTR i$[rbp]
imul rax, rax, 32 ; 00000020... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/loop.asm | 1,561 | 1,620 |
Terraspace/UASM:x64/Debug/loop.asm:41 | ; 268 : *(tokenarray[Token_Count-1].tokpos+1) ) {
; 269 : tokenarray[Token_Count].token = T_STRING;
movsxd rax, DWORD PTR ModuleInfo+496
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rbp]
mov BYTE PTR [rcx+rax], 9
; 270 : tokenarray[Token_Count].string_deli... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/loop.asm | 1,601 | 1,660 |
Terraspace/UASM:x64/Debug/loop.asm:42 | inc ecx
movsxd rcx, ecx
imul rcx, rcx, 32 ; 00000020H
mov rdx, QWORD PTR tokenarray$[rbp]
mov QWORD PTR [rdx+rcx+24], rax
; 273 : Token_Count++;
mov eax, DWORD PTR ModuleInfo+496
inc eax
mov DWORD PTR ModuleInfo+496, eax
; 274 : tokenarray[Token_Count].token = T_FINAL;
movsxd ra... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/loop.asm | 1,641 | 1,700 |
Terraspace/UASM:x64/Debug/loop.asm:43 | ; 288 : for( ; i < Token_Count; i++, macro->sym.value++ ) {
jmp SHORT $LN22@LoopDirect
$LN20@LoopDirect:
mov eax, DWORD PTR i$[rbp]
inc eax
mov DWORD PTR i$[rbp], eax
mov rax, QWORD PTR macro$[rbp]
mov eax, DWORD PTR [rax+16]
inc eax
mov rcx, QWORD PTR macro$[rbp]
mov DWORD PTR [rcx+16], eax
$LN22@Lo... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/loop.asm | 1,681 | 1,740 |
Terraspace/UASM:x64/Debug/loop.asm:44 | mov rcx, QWORD PTR macro$[rbp]
call RunMacro
mov DWORD PTR i$[rbp], eax
; 291 : if ( i < 0 || is_exitm )
cmp DWORD PTR i$[rbp], 0
jl SHORT $LN62@LoopDirect
movzx eax, BYTE PTR is_exitm$[rbp]
test eax, eax
je SHORT $LN61@LoopDirect
$LN62@LoopDirect:
; 292 : break;
jmp SHORT $LN2... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/loop.asm | 1,721 | 1,780 |
Terraspace/UASM:x64/Debug/loop.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_BSS SEGMENT
$SG10985 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG10959 DB 'LoopDirective(%s) enter', 0aH, 00H
ORG... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/loop.asm:7 | rep stosd
mov ecx, DWORD PTR [rsp+696]
mov rax, QWORD PTR __security_cookie
xor rax, rbp
mov QWORD PTR __$ArrayPad$[rbp], rax
mov QWORD PTR __$AllocaPad$$[rbp], 0
mov BYTE PTR $T16[rbp], 0
mov BYTE PTR $T14[rbp], 0
mov BYTE PTR $T15[rbp], 0
; 27 : int directive = tokenarray[i].tokval;
movsxd rax, DWORD... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/loop.asm:8 | xor edx, edx
mov ecx, DWORD PTR directive$[rbp]
call GetResWName
mov rdx, rax
lea rcx, OFFSET FLAT:$SG10959
call DoDebugMsg1
; 46 :
; 47 : i++; /* skip directive */
mov eax, DWORD PTR i$[rbp]
inc eax
mov DWORD PTR i$[rbp], eax
; 48 : if ( ModuleInfo.list == TRUE ) LstWriteSrcLine();
mov eax, ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/loop.asm:9 | mov BYTE PTR $T14[rbp], 1
mov eax, DWORD PTR i$[rbp]
mov DWORD PTR arg_loc$[rbp], eax
$LN25@LoopDirect:
; 53 : /* no break */
; 54 : case T_REPT:
; 55 : case T_REPEAT:
; 56 : /* the expression is "critical", that is, no forward
; 57 : * referenced symbols may be used here!
... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/loop.asm:10 | ; 63 : DebugMsg(( "LoopDirective(%s): invalid argument type %u\n", GetResWName( directive, NULL ), opnd.kind ));
xor edx, edx
mov ecx, DWORD PTR directive$[rbp]
call GetResWName
mov r8d, DWORD PTR opnd$[rbp+60]
mov rdx, rax
lea rcx, OFFSET FLAT:$SG10967
call DoDebugMsg
; 64 : EmitEr... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/loop.asm:13 | je SHORT $LN64@LoopDirect
movsxd rax, DWORD PTR i$[rbp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rbp]
mov rax, QWORD PTR [rcx+rax+8]
movsx eax, BYTE PTR [rax]
cmp eax, 63 ; 0000003fH
je SHORT $LN64@LoopDirect
movsxd rax, DWORD PTR i$[rbp]
imul rax, rax, 32 ; 00000020H
mov rcx, QW... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/loop.asm:24 | mov eax, DWORD PTR i$[rbp]
inc eax
cdqe
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rbp]
mov rdx, QWORD PTR [rcx+rax+24]
mov ecx, 209 ; 000000d1H
call EmitErr
jmp $LN1@LoopDirect
$LN44@LoopDirect:
; 144 : }
; 145 : /* v2.08: use myalloca() instead of a fixed-len... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 921 | 980 |
Terraspace/UASM:x64/Debug/loop.asm:25 | ; 155 : }
; 156 : /* to run StoreMacro(), tokenarray must be setup correctly. */
; 157 : /* clear contents beginning with the comma! */
; 158 : i--;
mov eax, DWORD PTR i$[rbp]
dec eax
mov DWORD PTR i$[rbp], eax
; 159 : tokenarray[i].token = T_FINAL;
movsxd rax, DWORD ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 961 | 1,020 |
Terraspace/UASM:x64/Debug/loop.asm:26 | ; 166 : memset( &tmpmacro, 0, sizeof(tmpmacro) );
mov r8d, 120 ; 00000078H
xor edx, edx
lea rcx, QWORD PTR tmpmacro$[rbp]
call memset
; 167 : tmpmacro.sym.name = "";
lea rax, OFFSET FLAT:$SG10985
mov QWORD PTR tmpmacro$[rbp+8], rax
; 168 : tmpmacro.e.macroinfo = &macinfo;
lea rax, QWORD PT... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Debug/loop.asm:27 | ; 181 : #endif
; 182 :
; 183 : DebugMsg1(("LoopDirective(%s): calling StoreMacro\n", GetResWName( directive, NULL )));
xor edx, edx
mov ecx, DWORD PTR directive$[rbp]
call GetResWName
mov rdx, rax
lea rcx, OFFSET FLAT:$SG10986
call DoDebugMsg1
; 184 : if( StoreMacro( macro, i, tokenarray, TRUE ) == ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Debug/loop.asm:29 | mov rax, QWORD PTR macro$[rbp]
mov eax, DWORD PTR [rax+16]
inc eax
mov rcx, QWORD PTR macro$[rbp]
mov DWORD PTR [rcx+16], eax
$LN14@LoopDirect:
cmp BYTE PTR $T15[rbp], 0
jne SHORT $LN78@LoopDirect
lea rcx, OFFSET FLAT:LoopDirective$rtcName$2
call _RTC_UninitUse
$LN78@LoopDirect:
mov rax, QWORD PTR macro$[rbp]
... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Debug/loop.asm:30 | ; 210 : if ( is_exitm )
movzx eax, BYTE PTR is_exitm$[rbp]
test eax, eax
je SHORT $LN48@LoopDirect
; 211 : break;
jmp SHORT $LN13@LoopDirect
$LN48@LoopDirect:
; 212 : DebugMsg1(("LoopDirective REPT: iteration=%" I32_SPEC "u\n", ++count ));
mov eax, DWORD PTR count$[r... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Debug/loop.asm:31 | $LN79@LoopDirect:
cmp DWORD PTR opnd$[rbp], 0
je $LN16@LoopDirect
; 217 : DebugMsg1(("LoopDirective WHILE: cnt=%u\n", count++ ));
mov eax, DWORD PTR count$[rbp]
mov DWORD PTR tv434[rbp], eax
mov eax, DWORD PTR count$[rbp]
inc eax
mov DWORD PTR count$[rbp], eax
mov edx, DWORD PTR tv434[rbp]
lea r... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Debug/loop.asm:38 | lea rax, QWORD PTR buffer$[rbp+1]
mov ecx, 32 ; 00000020H
imul rcx, rcx, 1
mov rdx, QWORD PTR tokenarray$[rbp]
mov QWORD PTR [rdx+rcx+24], rax
; 253 : buffer[1] = NULLC;
mov QWORD PTR $T13[rbp], 1
cmp QWORD PTR $T13[rbp], 4
jae SHORT $LN69@LoopDirect
jmp SHORT $LN70@LoopDirect
$LN69@LoopD... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 1,481 | 1,540 |
Terraspace/UASM:x64/Debug/loop.asm:39 | jmp SHORT $LN18@LoopDirect
$LN58@LoopDirect:
; 258 : DebugMsg1(("LoopDirective FORC: call RunMacro(), cnt=%" I32_SPEC "u, param=>%s<\n", count++, buffer ));
mov eax, DWORD PTR count$[rbp]
mov DWORD PTR tv534[rbp], eax
mov eax, DWORD PTR count$[rbp]
inc eax
mov DWORD PTR count$[rbp], eax
lea r8, QWO... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 1,521 | 1,580 |
Terraspace/UASM:x64/Debug/loop.asm:40 | mov r9d, 3
mov r8, QWORD PTR tokenarray$[rbp]
mov edx, DWORD PTR i$[rbp]
mov rcx, QWORD PTR parmstring$[rbp]
call Tokenize
mov DWORD PTR ModuleInfo+496, eax
; 264 : DebugMsg1(("LoopDirective FOR: full param=>%s<\n", tokenarray[i].tokpos ));
movsxd rax, DWORD PTR i$[rbp]
imul rax, rax, 32 ; 00000020... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 1,561 | 1,620 |
Terraspace/UASM:x64/Debug/loop.asm:43 | ; 288 : for( ; i < Token_Count; i++, macro->sym.value++ ) {
jmp SHORT $LN22@LoopDirect
$LN20@LoopDirect:
mov eax, DWORD PTR i$[rbp]
inc eax
mov DWORD PTR i$[rbp], eax
mov rax, QWORD PTR macro$[rbp]
mov eax, DWORD PTR [rax+16]
inc eax
mov rcx, QWORD PTR macro$[rbp]
mov DWORD PTR [rcx+16], eax
$LN22@Lo... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 1,681 | 1,740 |
Terraspace/UASM:x64/Debug/loop.asm:44 | mov rcx, QWORD PTR macro$[rbp]
call RunMacro
mov DWORD PTR i$[rbp], eax
; 291 : if ( i < 0 || is_exitm )
cmp DWORD PTR i$[rbp], 0
jl SHORT $LN62@LoopDirect
movzx eax, BYTE PTR is_exitm$[rbp]
test eax, eax
je SHORT $LN61@LoopDirect
$LN62@LoopDirect:
; 292 : break;
jmp SHORT $LN2... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Debug/loop.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/loop.asm | 1,721 | 1,780 |
Terraspace/UASM:x64/Debug/lqueue.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10435 DB 'AddLineQueue(%p): #=%u >%s<', 0aH, 00H
ORG $+3
$S... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/lqueue.asm:2 | EXTRN ParseLine:PROC
EXTRN PreprocessLine:PROC
EXTRN __GSHandlerCheck:PROC
EXTRN __security_check_cookie:PROC
EXTRN ModuleInfo:BYTE
EXTRN ResWordTable:BYTE
EXTRN __ImageBase:BYTE
EXTRN __security_cookie:QWORD
_BSS SEGMENT
lqlines_written DD 01H DUP (?)
lqlines_read DD 01H DUP (?)
_BSS ENDS
pdata SEGMENT
$pdata$DeleteLi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/lqueue.asm:3 | _TEXT SEGMENT
currline$ = 32
tokenarray$ = 40
nextline$1 = 48
oldstat$ = 56
RunLineQueue PROC
; 179 : {
$LN8:
sub rsp, 104 ; 00000068H
; 180 : struct input_status oldstat;
; 181 : struct asm_tok *tokenarray;
; 182 : struct lq_line *currline = line_queue.head;
mov rax, QWORD PTR ModuleInfo+184
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/lqueue.asm:4 | ; 190 : /* v2.11: line queues are no longer pushed onto the file stack.
; 191 : * Instead, the queue is processed directly here.
; 192 : */
; 193 : line_queue.head = NULL;
mov QWORD PTR ModuleInfo+184, 0
; 194 : DebugCmd( lqlines_written = 0 ); /* reset counter for AddLineQueue() */
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/lqueue.asm:5 | mov DWORD PTR lqlines_read, eax
; 201 : MemFree( currline );
mov rcx, QWORD PTR currline$[rsp]
call MemFree
; 202 : if ( PreprocessLine( CurrSource, tokenarray ) )
mov rdx, QWORD PTR tokenarray$[rsp]
mov rcx, QWORD PTR ModuleInfo+464
call PreprocessLine
test eax, eax
je SHORT $LN5@RunLineQu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/lqueue.asm:6 | ; 209 : DebugMsg(("!!!!! Warning: End directive found in generated-code parser loop!\n"));
lea rcx, OFFSET FLAT:$SG10523
call DoDebugMsg
$LN6@RunLineQue:
; 210 : }
; 211 : #endif
; 212 : ModuleInfo.GeneratedCode--;
mov eax, DWORD PTR ModuleInfo+456
dec eax
mov DWORD PTR ModuleInfo+456, eax
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/lqueue.asm:7 | tv74 = 80
l$ = 84
tv133 = 88
tv159 = 92
p$ = 96
q$ = 104
buffer$ = 112
__$ArrayPad$ = 1136
fmt$ = 1168
AddLineQueueX PROC
; 98 : {
$LN25:
mov QWORD PTR [rsp+8], rcx
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
sub rsp, 1160 ; 00000488H
mov rax, QWORD PTR __security_cook... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/lqueue.asm:8 | mov rax, QWORD PTR fmt$[rsp]
mov QWORD PTR s$[rsp], rax
lea rax, QWORD PTR buffer$[rsp]
mov QWORD PTR d$[rsp], rax
jmp SHORT $LN4@AddLineQue
$LN2@AddLineQue:
mov rax, QWORD PTR s$[rsp]
inc rax
mov QWORD PTR s$[rsp], rax
$LN4@AddLineQue:
mov rax, QWORD PTR s$[rsp]
movsx eax, BYTE PTR [rax]
test eax, eax
je $L... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/lqueue.asm:9 | movzx eax, BYTE PTR $LN23@AddLineQue[rcx+rax]
mov eax, DWORD PTR $LN24@AddLineQue[rcx+rax*4]
add rax, rcx
jmp rax
$LN9@AddLineQue:
; 114 : case 'r':
; 115 : i = va_arg( args, int );
mov rax, QWORD PTR args$[rsp]
add rax, 8
mov QWORD PTR args$[rsp], rax
mov rax, QWORD PTR args$[rsp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/lqueue.asm:10 | ; 121 : case 's':
; 122 : p = va_arg( args, char * );
mov rax, QWORD PTR args$[rsp]
add rax, 8
mov QWORD PTR args$[rsp], rax
mov rax, QWORD PTR args$[rsp]
mov rax, QWORD PTR [rax-8]
mov QWORD PTR p$[rsp], rax
; 123 : i = strlen( p );
mov rcx, QWORD PTR p$[rsp]
c... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/lqueue.asm:11 | $LN11@AddLineQue:
; 128 : #if AMD64_SUPPORT
; 129 : case 'q':
; 130 : q = va_arg(args, int_64);
mov rax, QWORD PTR args$[rsp]
add rax, 8
mov QWORD PTR args$[rsp], rax
mov rax, QWORD PTR args$[rsp]
mov rax, QWORD PTR [rax-8]
mov QWORD PTR q$[rsp], rax
; 131 : myqtoa(q... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/lqueue.asm:12 | movzx eax, BYTE PTR ModuleInfo+396
cmp eax, 10
je SHORT $LN12@AddLineQue
; 135 : *d++ = 't';
mov rax, QWORD PTR d$[rsp]
mov BYTE PTR [rax], 116 ; 00000074H
mov rax, QWORD PTR d$[rsp]
inc rax
mov QWORD PTR d$[rsp], rax
$LN12@AddLineQue:
; 136 : break;
jmp $LN5@AddLineQue
$LN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/lqueue.asm:13 | cmp eax, 120 ; 00000078H
jne SHORT $LN14@AddLineQue
; 147 : myltoa( l, d, 16, FALSE, FALSE );
mov BYTE PTR [rsp+32], 0
xor r9d, r9d
mov r8d, 16
mov rdx, QWORD PTR d$[rsp]
mov ecx, DWORD PTR l$[rsp]
call myltoa
; 148 : d += strlen( d );
mov rcx, QWORD PTR d$[rsp]
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/lqueue.asm:14 | call myltoa
; 151 : d += strlen( d );
mov rcx, QWORD PTR d$[rsp]
call strlen
mov rcx, QWORD PTR d$[rsp]
add rcx, rax
mov rax, rcx
mov QWORD PTR d$[rsp], rax
; 152 : /* v2.07: add a 't' suffix if radix is != 10 */
; 153 : if ( ModuleInfo.radix != 10... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/lqueue.asm:15 | mov BYTE PTR [rax], cl
mov rax, QWORD PTR d$[rsp]
inc rax
mov QWORD PTR d$[rsp], rax
$LN5@AddLineQue:
; 159 : }
; 160 : } else
jmp SHORT $LN8@AddLineQue
$LN7@AddLineQue:
; 161 : *d++ = *s;
mov rax, QWORD PTR d$[rsp]
mov rcx, QWORD PTR s$[rsp]
movzx ecx, BYTE PTR [rcx]
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/lqueue.asm:16 | lea rcx, QWORD PTR buffer$[rsp]
call AddLineQueue
; 167 : return;
; 168 : }
mov rcx, QWORD PTR __$ArrayPad$[rsp]
xor rcx, rsp
call __security_check_cookie
add rsp, 1160 ; 00000488H
ret 0
npad 3
$LN24@AddLineQue:
DD $LN13@AddLineQue
DD $LN11@AddLineQue
DD $LN9@AddLineQue
DD $LN10@AddLineQue
DD $LN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/lqueue.asm:17 | AddLineQueueX ENDP
_TEXT ENDS
; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\lqueue.c
_TEXT SEGMENT
i$ = 32
new$ = 40
line$ = 64
AddLineQueue PROC
; 68 : {
$LN5:
mov QWORD PTR [rsp+8], rcx
sub rsp, 56 ; 00000038H
; 69 : unsigned i = strlen( line );
mov rcx, QWORD PTR lin... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/lqueue.asm:18 | ; 78 : //}
; 79 : new = MemAlloc( sizeof( struct lq_line ) + i );
mov eax, DWORD PTR i$[rsp]
add rax, 16
mov rcx, rax
call MemAlloc
mov QWORD PTR new$[rsp], rax
; 80 : new->next = NULL;
mov rax, QWORD PTR new$[rsp]
mov QWORD PTR [rax], 0
; 81 : DebugCmd( new->lineno = lqlines_written ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/lqueue.asm:19 | mov QWORD PTR ModuleInfo+184, rax
; 86 : } else {
jmp SHORT $LN3@AddLineQue
$LN2@AddLineQue:
; 87 : /* insert at the tail */
; 88 : ((struct qnode *)line_queue.tail)->next = new;
mov rax, QWORD PTR ModuleInfo+192
mov rcx, QWORD PTR new$[rsp]
mov QWORD PTR [rax], rcx
$LN3@AddLineQue:
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/lqueue.asm:20 | ; 46 : struct qitem *curr;
; 47 : struct qitem *next;
; 48 : for( curr = line_queue.head; curr; curr = next ) {
mov rax, QWORD PTR ModuleInfo+184
mov QWORD PTR curr$[rsp], rax
jmp SHORT $LN4@DeleteLine
$LN2@DeleteLine:
mov rax, QWORD PTR next$[rsp]
mov QWORD PTR curr$[rsp], rax
$LN4@DeleteLine:
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 761 | 812 |
Terraspace/UASM:x64/Debug/lqueue.asm:21 | ; Function compile flags: /Odtp
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\lqueue.c
_TEXT SEGMENT
GetLqLine PROC
; 38 : unsigned GetLqLine( void ) { return( lqlines_read ); }
mov eax, DWORD PTR lqlines_read
ret 0
GetLqLine ENDP
_TEXT ENDS
END | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/lqueue.asm | 801 | 812 |
Terraspace/UASM:x64/Debug/lqueue.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10397 DB 'AddLineQueue(%p): #=%u >%s<', 0aH, 00H
ORG $+3
$S... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/lqueue.asm:2 | EXTRN PreprocessLine:PROC
EXTRN _RTC_CheckStackVars:PROC
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN __GSHandlerCheck:PROC
EXTRN __security_check_cookie:PROC
EXTRN ModuleInfo:BYTE
EXTRN ResWordTable:BYTE
EXTRN __security_cookie:QWORD
_BSS SEGMENT
lqlines_written DD 01H DUP (?)
lqlines_read DD 01H DUP (?)
_B... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/lqueue.asm:3 | DB 072H
DB 067H
DB 073H
DB 00H
ORG $+3
AddLineQueueX$rtcName$1 DB 062H
DB 075H
DB 066H
DB 066H
DB 065H
DB 072H
DB 00H
ORG $+1
AddLineQueueX$rtcVarDesc DD 080H
DD 0258H
DQ FLAT:AddLineQueueX$rtcName$1
DD 038H
DD 08H
DQ FLAT:AddLineQueueX$rtcName$0
ORG $+96
AddLineQueueX$rtcFrameData DD 02H
DD 00H
DQ F... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/lqueue.asm:4 | xdata SEGMENT
$unwind$GetLqLine DD 010201H
DD 07002H
$unwind$DeleteLineQueue DD 021501H
DD 070025206H
$unwind$AddLineQueue DD 021e01H
DD 07006520aH
$unwind$AddLineQueueX DD 034519H
DD 060011cH
DD 07015H
DD imagerel __GSHandlerCheck
DD 02f8H
$unwind$RunLineQueue DD 021501H
DD 07002d206H
xdata ENDS
; Function com... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/lqueue.asm:5 | ; 172 :
; 173 : DebugMsg1(( "RunLineQueue() enter\n" ));
lea rcx, OFFSET FLAT:$SG10469
call DoDebugMsg1
; 174 :
; 175 : /* v2.03: ensure the current source buffer is still aligned */
; 176 : tokenarray = PushInputStatus( &oldstat );
lea rcx, QWORD PTR oldstat$[rsp]
call PushInputStatus
mov QWOR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/lqueue.asm:6 | cmp QWORD PTR currline$[rsp], 0
je SHORT $LN3@RunLineQue
; 187 : struct lq_line *nextline = currline->next;
mov rax, QWORD PTR currline$[rsp]
mov rax, QWORD PTR [rax]
mov QWORD PTR nextline$4[rsp], rax
; 188 : strcpy( CurrSource, currline->line );
mov rax, QWORD PTR currline$[rsp]
add rax, 9... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/lqueue.asm:7 | call ParseLine
$LN5@RunLineQue:
; 193 : currline = nextline;
mov rax, QWORD PTR nextline$4[rsp]
mov QWORD PTR currline$[rsp], rax
; 194 : }
jmp SHORT $LN2@RunLineQue
$LN3@RunLineQue:
; 195 :
; 196 : #ifdef DEBUG_OUT
; 197 : if ( ModuleInfo.EndDirFound == TRUE ) {
mov eax, DWORD PTR Module... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/lqueue.asm:8 | call PopInputStatus
; 203 :
; 204 : DebugMsg1(( "RunLineQueue() exit\n" ));
lea rcx, OFFSET FLAT:$SG10473
call DoDebugMsg1
; 205 : return;
; 206 : }
mov rcx, rsp
lea rdx, OFFSET FLAT:RunLineQueue$rtcFrameData
call _RTC_CheckStackVars
add rsp, 112 ; 00000070H
pop rdi
ret 0
RunLineQueue ENDP
_T... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/lqueue.asm:9 | mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+32], r9
push rdi
sub rsp, 768 ; 00000300H
mov rdi, rsp
mov ecx, 192 ; 000000c0H
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+784]
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 99 : va... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/lqueue.asm:10 | movsx eax, BYTE PTR [rax]
test eax, eax
je $LN3@AddLineQue
; 110 : if ( *s == '%' ) {
mov rax, QWORD PTR s$[rsp]
movsx eax, BYTE PTR [rax]
cmp eax, 37 ; 00000025H
jne $LN7@AddLineQue
; 111 : s++;
mov rax, QWORD PTR s$[rsp]
inc rax
mov QWORD PTR s$[rsp], rax
; 112 : s... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/lqueue.asm:11 | mov QWORD PTR args$[rsp], rax
mov rax, QWORD PTR args$[rsp]
mov eax, DWORD PTR [rax-8]
mov DWORD PTR i$[rsp], eax
; 115 : GetResWName( i , d );
mov rdx, QWORD PTR d$[rsp]
mov ecx, DWORD PTR i$[rsp]
call GetResWName
; 116 : /* v2.06: the name is already copied */
; 117 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/lqueue.asm:12 | mov rcx, QWORD PTR p$[rsp]
call strlen
mov DWORD PTR i$[rsp], eax
; 123 : memcpy( d, p, i );
movsxd rax, DWORD PTR i$[rsp]
mov r8, rax
mov rdx, QWORD PTR p$[rsp]
mov rcx, QWORD PTR d$[rsp]
call memcpy
; 124 : d += i;
movsxd rax, DWORD PTR i$[rsp]
mov rcx, QWORD PTR d$[rsp]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/lqueue.asm:13 | add rax, 8
mov QWORD PTR args$[rsp], rax
mov rax, QWORD PTR args$[rsp]
mov eax, DWORD PTR [rax-8]
mov DWORD PTR l$[rsp], eax
; 134 : #endif
; 135 : if ( *s == 'x' ) {
mov rax, QWORD PTR s$[rsp]
movsx eax, BYTE PTR [rax]
cmp eax, 120 ; 00000078H
jne SHORT $LN12@AddLineQue
; 136 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/lqueue.asm:14 | jge SHORT $LN17@AddLineQue
mov DWORD PTR tv143[rsp], 1
jmp SHORT $LN18@AddLineQue
$LN17@AddLineQue:
mov DWORD PTR tv143[rsp], 0
$LN18@AddLineQue:
mov BYTE PTR [rsp+32], 0
movzx r9d, BYTE PTR tv143[rsp]
mov r8d, 10
mov rdx, QWORD PTR d$[rsp]
mov ecx, DWORD PTR l$[rsp]
call myltoa
; 140 : d... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/lqueue.asm:15 | ; 145 : break;
jmp SHORT $LN5@AddLineQue
$LN15@AddLineQue:
; 146 : default:
; 147 : *d++ = *s;
mov rax, QWORD PTR d$[rsp]
mov rcx, QWORD PTR s$[rsp]
movzx ecx, BYTE PTR [rcx]
mov BYTE PTR [rax], cl
mov rax, QWORD PTR d$[rsp]
inc rax
mov QWORD PTR d$[rsp], rax
$L... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/lqueue.asm:16 | mov rax, QWORD PTR d$[rsp]
mov BYTE PTR [rax], 0
; 153 : va_end( args );
mov QWORD PTR args$[rsp], 0
; 154 : //DebugMsg(("AddlineQueueX() done\n" ));
; 155 : AddLineQueue( buffer );
lea rcx, QWORD PTR buffer$[rsp]
call AddLineQueue
; 156 : return;
; 157 : }
mov rcx, rsp
lea rdx, OFFSET ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/lqueue.asm:17 | push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 69 : unsigned i = strlen( line );
mov rcx, QWORD PTR line$[rsp]
call strlen
mov DWORD PTR i$[rsp], eax
; 70 : struct lq_line *new;
; 71 :
; 72 : Debu... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/lqueue.asm:18 | ; 80 : new->next = NULL;
mov rax, QWORD PTR new$[rsp]
mov QWORD PTR [rax], 0
; 81 : DebugCmd( new->lineno = lqlines_written );
mov rax, QWORD PTR new$[rsp]
movzx ecx, BYTE PTR lqlines_written
mov BYTE PTR [rax+8], cl
; 82 : memcpy( new->line, line, i + 1 );
mov eax, DWORD PTR i$[rsp]
inc e... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/lqueue.asm:19 | ; 88 : ((struct qnode *)line_queue.tail)->next = new;
mov rax, QWORD PTR ModuleInfo+192
mov rcx, QWORD PTR new$[rsp]
mov QWORD PTR [rax], rcx
$LN3@AddLineQue:
; 89 : }
; 90 : line_queue.tail = new;
mov rax, QWORD PTR new$[rsp]
mov QWORD PTR ModuleInfo+192, rax
; 91 : return;
; 92 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/lqueue.asm:20 | ; 48 : for( curr = line_queue.head; curr; curr = next ) {
mov rax, QWORD PTR ModuleInfo+184
mov QWORD PTR curr$[rsp], rax
jmp SHORT $LN4@DeleteLine
$LN2@DeleteLine:
mov rax, QWORD PTR next$[rsp]
mov QWORD PTR curr$[rsp], rax
$LN4@DeleteLine:
cmp QWORD PTR curr$[rsp], 0
je SHORT $LN3@DeleteLine
; 49 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 761 | 814 |
Terraspace/UASM:x64/Debug/lqueue.asm:21 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\lqueue.c
_TEXT SEGMENT
GetLqLine PROC
; 38 : unsigned GetLqLine( void ) { return( lqlines_read ); }
$LN3:
push rdi
mov eax, DWORD PTR lqlines_read
pop rdi
ret 0
GetLqLine ENDP
_TEXT ENDS
END | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/lqueue.asm | 801 | 814 |
Terraspace/UASM:x64/Debug/lqueue.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10396 DB 'AddLineQueue(%p): #=%u >%s<', 0aH, 00H
ORG $+3
$SG10468 DB 'RunLineQue... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/lqueue.asm:2 | EXTRN _RTC_CheckStackVars:PROC
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN __GSHandlerCheck:PROC
EXTRN __security_check_cookie:PROC
EXTRN ModuleInfo:BYTE
EXTRN ResWordTable:BYTE
EXTRN __security_cookie:QWORD
_BSS SEGMENT
lqlines_written DD 01H DUP (?)
lqlines_read DD 01H DUP (?)
_BSS ENDS
pdata SEGMENT
$pda... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/lqueue.asm:3 | DB 067H
DB 073H
DB 00H
ORG $+3
AddLineQueueX$rtcName$1 DB 062H
DB 075H
DB 066H
DB 066H
DB 065H
DB 072H
DB 00H
ORG $+1
AddLineQueueX$rtcVarDesc DD 080H
DD 0258H
DQ FLAT:AddLineQueueX$rtcName$1
DD 038H
DD 08H
DQ FLAT:AddLineQueueX$rtcName$0
ORG $+96
AddLineQueueX$rtcFrameData DD 02H
DD 00H
DQ FLAT:AddLi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/lqueue.asm:4 | $unwind$GetLqLine DD 010201H
DD 07002H
$unwind$DeleteLineQueue DD 021501H
DD 070025206H
$unwind$AddLineQueue DD 021e01H
DD 07006520aH
$unwind$AddLineQueueX DD 034519H
DD 060011cH
DD 07015H
DD imagerel __GSHandlerCheck
DD 02f8H
$unwind$RunLineQueue DD 021501H
DD 07002d206H
xdata ENDS
; Function compile flags: /O... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/lqueue.asm:5 | ; 172 :
; 173 : DebugMsg1(( "RunLineQueue() enter\n" ));
lea rcx, OFFSET FLAT:$SG10468
call DoDebugMsg1
; 174 :
; 175 : /* v2.03: ensure the current source buffer is still aligned */
; 176 : tokenarray = PushInputStatus( &oldstat );
lea rcx, QWORD PTR oldstat$[rsp]
call PushInputStatus
mov QWOR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/lqueue.asm:6 | cmp QWORD PTR currline$[rsp], 0
je SHORT $LN3@RunLineQue
; 187 : struct lq_line *nextline = currline->next;
mov rax, QWORD PTR currline$[rsp]
mov rax, QWORD PTR [rax]
mov QWORD PTR nextline$4[rsp], rax
; 188 : strcpy( CurrSource, currline->line );
mov rax, QWORD PTR currline$[rsp]
add rax, 9... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/lqueue.asm:7 | $LN5@RunLineQue:
; 193 : currline = nextline;
mov rax, QWORD PTR nextline$4[rsp]
mov QWORD PTR currline$[rsp], rax
; 194 : }
jmp SHORT $LN2@RunLineQue
$LN3@RunLineQue:
; 195 :
; 196 : #ifdef DEBUG_OUT
; 197 : if ( ModuleInfo.EndDirFound == TRUE ) {
mov eax, DWORD PTR ModuleInfo+408
shr e... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/lqueue.asm:8 | ; 203 :
; 204 : DebugMsg1(( "RunLineQueue() exit\n" ));
lea rcx, OFFSET FLAT:$SG10472
call DoDebugMsg1
; 205 : return;
; 206 : }
mov rcx, rsp
lea rdx, OFFSET FLAT:RunLineQueue$rtcFrameData
call _RTC_CheckStackVars
add rsp, 112 ; 00000070H
pop rdi
ret 0
RunLineQueue ENDP
_TEXT ENDS
; Function c... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/lqueue.asm:9 | mov QWORD PTR [rsp+32], r9
push rdi
sub rsp, 768 ; 00000300H
mov rdi, rsp
mov ecx, 192 ; 000000c0H
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+784]
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 99 : va_list args;
; 100 : cha... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/lqueue.asm:10 | test eax, eax
je $LN3@AddLineQue
; 110 : if ( *s == '%' ) {
mov rax, QWORD PTR s$[rsp]
movsx eax, BYTE PTR [rax]
cmp eax, 37 ; 00000025H
jne $LN7@AddLineQue
; 111 : s++;
mov rax, QWORD PTR s$[rsp]
inc rax
mov QWORD PTR s$[rsp], rax
; 112 : switch ( *s ) {
mov rax, Q... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/lqueue.asm:11 | mov rax, QWORD PTR args$[rsp]
mov eax, DWORD PTR [rax-8]
mov DWORD PTR i$[rsp], eax
; 115 : GetResWName( i , d );
mov rdx, QWORD PTR d$[rsp]
mov ecx, DWORD PTR i$[rsp]
call GetResWName
; 116 : /* v2.06: the name is already copied */
; 117 : //memcpy( d, ResWord... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/lqueue.asm:12 | mov rcx, QWORD PTR p$[rsp]
call strlen
mov DWORD PTR i$[rsp], eax
; 123 : memcpy( d, p, i );
movsxd rax, DWORD PTR i$[rsp]
mov r8, rax
mov rdx, QWORD PTR p$[rsp]
mov rcx, QWORD PTR d$[rsp]
call memcpy
; 124 : d += i;
movsxd rax, DWORD PTR i$[rsp]
mov rcx, QWORD PTR d$[rsp]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/lqueue.asm:13 | mov QWORD PTR args$[rsp], rax
mov rax, QWORD PTR args$[rsp]
mov eax, DWORD PTR [rax-8]
mov DWORD PTR l$[rsp], eax
; 134 : #endif
; 135 : if ( *s == 'x' ) {
mov rax, QWORD PTR s$[rsp]
movsx eax, BYTE PTR [rax]
cmp eax, 120 ; 00000078H
jne SHORT $LN12@AddLineQue
; 136 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/lqueue.asm:14 | mov DWORD PTR tv143[rsp], 1
jmp SHORT $LN18@AddLineQue
$LN17@AddLineQue:
mov DWORD PTR tv143[rsp], 0
$LN18@AddLineQue:
mov BYTE PTR [rsp+32], 0
movzx r9d, BYTE PTR tv143[rsp]
mov r8d, 10
mov rdx, QWORD PTR d$[rsp]
mov ecx, DWORD PTR l$[rsp]
call myltoa
; 140 : d += strlen( d );
mov rcx, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/lqueue.asm:15 | jmp SHORT $LN5@AddLineQue
$LN15@AddLineQue:
; 146 : default:
; 147 : *d++ = *s;
mov rax, QWORD PTR d$[rsp]
mov rcx, QWORD PTR s$[rsp]
movzx ecx, BYTE PTR [rcx]
mov BYTE PTR [rax], cl
mov rax, QWORD PTR d$[rsp]
inc rax
mov QWORD PTR d$[rsp], rax
$LN5@AddLineQue:
; 148 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/lqueue.asm:16 | mov rax, QWORD PTR d$[rsp]
mov BYTE PTR [rax], 0
; 153 : va_end( args );
mov QWORD PTR args$[rsp], 0
; 154 : //DebugMsg(("AddlineQueueX() done\n" ));
; 155 : AddLineQueue( buffer );
lea rcx, QWORD PTR buffer$[rsp]
call AddLineQueue
; 156 : return;
; 157 : }
mov rcx, rsp
lea rdx, OFFSET ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/lqueue.asm:17 | sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 69 : unsigned i = strlen( line );
mov rcx, QWORD PTR line$[rsp]
call strlen
mov DWORD PTR i$[rsp], eax
; 70 : struct lq_line *new;
; 71 :
; 72 : DebugMsg1(( "A... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 641 | 700 |
Terraspace/UASM:x64/Debug/lqueue.asm:18 | ; 80 : new->next = NULL;
mov rax, QWORD PTR new$[rsp]
mov QWORD PTR [rax], 0
; 81 : DebugCmd( new->lineno = lqlines_written );
mov rax, QWORD PTR new$[rsp]
movzx ecx, BYTE PTR lqlines_written
mov BYTE PTR [rax+8], cl
; 82 : memcpy( new->line, line, i + 1 );
mov eax, DWORD PTR i$[rsp]
inc e... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 681 | 740 |
Terraspace/UASM:x64/Debug/lqueue.asm:19 | mov rax, QWORD PTR ModuleInfo+192
mov rcx, QWORD PTR new$[rsp]
mov QWORD PTR [rax], rcx
$LN3@AddLineQue:
; 89 : }
; 90 : line_queue.tail = new;
mov rax, QWORD PTR new$[rsp]
mov QWORD PTR ModuleInfo+192, rax
; 91 : return;
; 92 : }
add rsp, 48 ; 00000030H
pop rdi
ret 0
AddLineQueue END... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 721 | 780 |
Terraspace/UASM:x64/Debug/lqueue.asm:20 | mov rax, QWORD PTR ModuleInfo+184
mov QWORD PTR curr$[rsp], rax
jmp SHORT $LN4@DeleteLine
$LN2@DeleteLine:
mov rax, QWORD PTR next$[rsp]
mov QWORD PTR curr$[rsp], rax
$LN4@DeleteLine:
cmp QWORD PTR curr$[rsp], 0
je SHORT $LN3@DeleteLine
; 49 : next = curr->next;
mov rax, QWORD PTR curr$[rsp]
mov rax... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 761 | 813 |
Terraspace/UASM:x64/Debug/lqueue.asm:21 | _TEXT SEGMENT
GetLqLine PROC
; 38 : unsigned GetLqLine( void ) { return( lqlines_read ); }
$LN3:
push rdi
mov eax, DWORD PTR lqlines_read
pop rdi
ret 0
GetLqLine ENDP
_TEXT ENDS
END | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/lqueue.asm | 801 | 813 |
Terraspace/UASM:x64/Debug/lqueue.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_DATA SEGMENT
$SG10394 DB 'AddLineQueue(%p): #=%u >%s<', 0aH, 00H
ORG $+3
$SG10466 DB 'RunLineQueue() enter', 0a... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/lqueue.asm:2 | EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN __GSHandlerCheck:PROC
EXTRN __security_check_cookie:PROC
EXTRN ModuleInfo:BYTE
EXTRN ResWordTable:BYTE
EXTRN __security_cookie:QWORD
_BSS SEGMENT
lqlines_written DD 01H DUP (?)
lqlines_read DD 01H DUP (?)
_BSS ENDS
pdata SEGMENT
$pdata$GetLqLine DD imagerel $LN3
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/lqueue.asm:3 | DB 073H
DB 00H
ORG $+3
AddLineQueueX$rtcName$1 DB 062H
DB 075H
DB 066H
DB 066H
DB 065H
DB 072H
DB 00H
ORG $+1
AddLineQueueX$rtcVarDesc DD 080H
DD 0258H
DQ FLAT:AddLineQueueX$rtcName$1
DD 038H
DD 08H
DQ FLAT:AddLineQueueX$rtcName$0
ORG $+96
AddLineQueueX$rtcFrameData DD 02H
DD 00H
DQ FLAT:AddLineQueueX$... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/lqueue.asm:4 | DD 07002H
$unwind$DeleteLineQueue DD 021501H
DD 070025206H
$unwind$AddLineQueue DD 021e01H
DD 07006520aH
$unwind$AddLineQueueX DD 034519H
DD 060011cH
DD 07015H
DD imagerel __GSHandlerCheck
DD 02f8H
$unwind$RunLineQueue DD 021501H
DD 07002d206H
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hj... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/lqueue.asm:5 | ; 173 : DebugMsg1(( "RunLineQueue() enter\n" ));
lea rcx, OFFSET FLAT:$SG10466
call DoDebugMsg1
; 174 :
; 175 : /* v2.03: ensure the current source buffer is still aligned */
; 176 : tokenarray = PushInputStatus( &oldstat );
lea rcx, QWORD PTR oldstat$[rsp]
call PushInputStatus
mov QWORD PTR tok... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/lqueue.asm:6 | je SHORT $LN3@RunLineQue
; 187 : struct lq_line *nextline = currline->next;
mov rax, QWORD PTR currline$[rsp]
mov rax, QWORD PTR [rax]
mov QWORD PTR nextline$4[rsp], rax
; 188 : strcpy( CurrSource, currline->line );
mov rax, QWORD PTR currline$[rsp]
add rax, 9
mov rdx, rax
mov rcx, QWORD PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/lqueue.asm:7 | ; 193 : currline = nextline;
mov rax, QWORD PTR nextline$4[rsp]
mov QWORD PTR currline$[rsp], rax
; 194 : }
jmp SHORT $LN2@RunLineQue
$LN3@RunLineQue:
; 195 :
; 196 : #ifdef DEBUG_OUT
; 197 : if ( ModuleInfo.EndDirFound == TRUE ) {
mov eax, DWORD PTR ModuleInfo+408
shr eax, 16
and eax, 1... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/lqueue.asm:8 | ; 203 :
; 204 : DebugMsg1(( "RunLineQueue() exit\n" ));
lea rcx, OFFSET FLAT:$SG10470
call DoDebugMsg1
; 205 : return;
; 206 : }
mov rcx, rsp
lea rdx, OFFSET FLAT:RunLineQueue$rtcFrameData
call _RTC_CheckStackVars
add rsp, 112 ; 00000070H
pop rdi
ret 0
RunLineQueue ENDP
_TEXT ENDS
; Function c... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/lqueue.asm:9 | push rdi
sub rsp, 768 ; 00000300H
mov rdi, rsp
mov ecx, 192 ; 000000c0H
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+784]
mov rax, QWORD PTR __security_cookie
xor rax, rsp
mov QWORD PTR __$ArrayPad$[rsp], rax
; 99 : va_list args;
; 100 : char *d;
; 101 : int i;
; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/lqueue.asm:10 | je $LN3@AddLineQue
; 110 : if ( *s == '%' ) {
mov rax, QWORD PTR s$[rsp]
movsx eax, BYTE PTR [rax]
cmp eax, 37 ; 00000025H
jne $LN7@AddLineQue
; 111 : s++;
mov rax, QWORD PTR s$[rsp]
inc rax
mov QWORD PTR s$[rsp], rax
; 112 : switch ( *s ) {
mov rax, QWORD PTR s$[rsp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/lqueue.asm:11 | mov eax, DWORD PTR [rax-8]
mov DWORD PTR i$[rsp], eax
; 115 : GetResWName( i , d );
mov rdx, QWORD PTR d$[rsp]
mov ecx, DWORD PTR i$[rsp]
call GetResWName
; 116 : /* v2.06: the name is already copied */
; 117 : //memcpy( d, ResWordTable[i].name, ResWordTable[i].... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/lqueue.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/lqueue.asm | 401 | 460 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.