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/loop.asm:14 | mov rcx, rsi
call memcpy
; 122 : *(parmstring+len) = NULLC;
mov BYTE PTR [rbx+rsi], r13b
$LN113@LoopDirect:
mov ecx, DWORD PTR i$[rbp]
$LN39@LoopDirect:
; 154 : DebugMsg1(("LoopDirective(FOR): param string >%s<\n", parmstring));
; 155 : }
; 156 : /* to run StoreMacr... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/loop.asm | 521 | 580 |
Terraspace/UASM:x64/Release/loop.asm:15 | xor edx, edx
lea rcx, QWORD PTR tmpmacro$[rbp]
lea r8d, QWORD PTR [rdx+120]
call memset
; 167 : tmpmacro.sym.name = "";
lea rax, OFFSET FLAT:$SG10987
mov QWORD PTR tmpmacro$[rbp+8], rax
; 168 : tmpmacro.e.macroinfo = &macinfo;
lea rax, QWORD PTR macinfo$[rbp]
mov QWORD PTR tmpmacro$[rbp+96], rax
;... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/loop.asm | 561 | 620 |
Terraspace/UASM:x64/Release/loop.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_BSS SEGMENT
$SG10976 DB 01H DUP (?)
_BSS ENDS
PUBLIC LoopDirective
EXTRN isal... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/loop.asm | 1 | 60 |
Terraspace/UASM:x64/Release/loop.asm:14 | mov rcx, rsi
call memcpy
; 122 : *(parmstring+len) = NULLC;
mov BYTE PTR [rbx+rsi], r13b
$LN113@LoopDirect:
mov ecx, DWORD PTR i$[rbp]
$LN39@LoopDirect:
; 154 : DebugMsg1(("LoopDirective(FOR): param string >%s<\n", parmstring));
; 155 : }
; 156 : /* to run StoreMacr... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/loop.asm | 521 | 580 |
Terraspace/UASM:x64/Release/loop.asm:15 | xor edx, edx
lea rcx, QWORD PTR tmpmacro$[rbp]
lea r8d, QWORD PTR [rdx+120]
call memset
; 167 : tmpmacro.sym.name = "";
lea rax, OFFSET FLAT:$SG10976
mov QWORD PTR tmpmacro$[rbp+8], rax
; 168 : tmpmacro.e.macroinfo = &macinfo;
lea rax, QWORD PTR macinfo$[rbp]
mov QWORD PTR tmpmacro$[rbp+96], rax
;... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | b6bee747552c348862b443ee3dba33a9f71485f4 | github | assembler | https://github.com/Terraspace/UASM/blob/b6bee747552c348862b443ee3dba33a9f71485f4/x64/Release/loop.asm | 561 | 620 |
Terraspace/UASM:x64/Release/loop.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
_BSS SEGMENT
$SG10972 DB 01H DUP (?)
_BSS ENDS
PUBLIC LoopDirective
EXTRN isal... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/loop.asm | 1 | 60 |
Terraspace/UASM:x64/Release/loop.asm:3 | shl rax, 5
; 28 : int arg_loc;
; 29 : int len;
; 30 : //int skipcomma;
; 31 : char *parmstring;
; 32 : char *ptr;
; 33 : struct dsym *macro;
; 34 : bool is_exitm;
; 35 : struct expr opnd;
; 36 : struct macro_info macinfo;
; 37 : struct dsym tmpmacro;
; 38 :... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/loop.asm | 81 | 140 |
Terraspace/UASM:x64/Release/loop.asm:4 | jl SHORT $LN31@LoopDirect
cmp r15d, 390 ; 00000186H
jle SHORT $LN108@LoopDirect
cmp r15d, 391 ; 00000187H
je SHORT $LN25@LoopDirect
$LN31@LoopDirect:
; 73 : default: /* FOR, FORC, IRP, IRPC */
; 74 : /* get the formal parameter and the argument list */
; 75 : /* the format parameter... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/loop.asm | 121 | 180 |
Terraspace/UASM:x64/Release/loop.asm:7 | add rdx, rdi
mov rax, QWORD PTR [rdx+8]
movzx r8d, BYTE PTR [rax]
lea eax, DWORD PTR [r8-36]
cmp al, 59 ; 0000003bH
ja SHORT $LN101@LoopDirect
mov r9, 576460752706076673 ; 0800000018000001H
bt r9, rax
jb SHORT $LN33@LoopDirect
$LN101@LoopDirect:
cmp r8b, 46 ; 0000002eH
jne SHORT $LN100@LoopDirect
t... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/loop.asm | 241 | 300 |
Terraspace/UASM:x64/Release/loop.asm:14 | mov rcx, rsi
call memcpy
; 122 : *(parmstring+len) = NULLC;
mov BYTE PTR [rbx+rsi], r13b
$LN113@LoopDirect:
mov ecx, DWORD PTR i$[rbp]
$LN39@LoopDirect:
; 154 : DebugMsg1(("LoopDirective(FOR): param string >%s<\n", parmstring));
; 155 : }
; 156 : /* to run StoreMacr... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/loop.asm | 521 | 580 |
Terraspace/UASM:x64/Release/loop.asm:15 | xor edx, edx
lea rcx, QWORD PTR tmpmacro$[rbp]
lea r8d, QWORD PTR [rdx+120]
call memset
; 167 : tmpmacro.sym.name = "";
lea rax, OFFSET FLAT:$SG10972
mov QWORD PTR tmpmacro$[rbp+8], rax
; 168 : tmpmacro.e.macroinfo = &macinfo;
lea rax, QWORD PTR macinfo$[rbp]
mov QWORD PTR tmpmacro$[rbp+96], rax
;... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/loop.asm | 561 | 620 |
Terraspace/UASM:x64/Release/loop.asm:16 | ; 183 : DebugMsg1(("LoopDirective(%s): calling StoreMacro\n", GetResWName( directive, NULL )));
; 184 : if( StoreMacro( macro, i, tokenarray, TRUE ) == ERROR ) {
mov edx, DWORD PTR i$[rbp]
lea rcx, QWORD PTR tmpmacro$[rbp]
mov r9b, 1
mov DWORD PTR macinfo$[rbp+24], eax
mov r8, rdi
call StoreMacro
cmp ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/loop.asm | 601 | 660 |
Terraspace/UASM:x64/Release/loop.asm:17 | cmp QWORD PTR macinfo$[rbp+16], r13
je $LN78@LoopDirect
lea eax, DWORD PTR [r15-386]
test eax, -3 ; fffffffdH
je $LN52@LoopDirect
; 200 : switch ( directive ) {
cmp r15d, 388 ; 00000184H
jle $LN59@LoopDirect
cmp r15d, 390 ; 00000186H
jle $LN47@LoopDirect
cmp r15d, 391 ; 00000187H
jne $LN59... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/loop.asm | 641 | 700 |
Terraspace/UASM:x64/Release/loop.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
_DATA ENDS
_BSS SEGMENT
$SG10971 DB 01H DUP (?)
_BSS ENDS
PUBLIC LoopDirective
EXTRN isalpha:PROC
EXTRN isspac... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 1 | 60 |
Terraspace/UASM:x64/Release/loop.asm:2 | DD 0f00f0028H
DD 0d00be00dH
DD 07007c009H
DD 050056006H
xdata ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\loop.c
_TEXT SEGMENT
macinfo$ = 0
tmpmacro$ = 32
opnd$ = 160
arg_loc$ = 336
i$ = 336
is_exitm$ = 344
parmstring$ = 344
tokenarray$ = 344
buffer$ = 352
LoopDirective PROC
;... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 41 | 100 |
Terraspace/UASM:x64/Release/loop.asm:3 | ; 28 : int arg_loc;
; 29 : int len;
; 30 : //int skipcomma;
; 31 : char *parmstring;
; 32 : char *ptr;
; 33 : struct dsym *macro;
; 34 : bool is_exitm;
; 35 : struct expr opnd;
; 36 : struct macro_info macinfo;
; 37 : struct dsym tmpmacro;
; 38 : #ifdef DEBU... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 81 | 140 |
Terraspace/UASM:x64/Release/loop.asm:4 | cmp r15d, 390 ; 00000186H
jle SHORT $LN108@LoopDirect
cmp r15d, 391 ; 00000187H
je SHORT $LN25@LoopDirect
$LN31@LoopDirect:
; 73 : default: /* FOR, FORC, IRP, IRPC */
; 74 : /* get the formal parameter and the argument list */
; 75 : /* the format parameter will become a macro parame... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 121 | 180 |
Terraspace/UASM:x64/Release/loop.asm:5 | mov r8d, DWORD PTR ModuleInfo+496
lea r9, QWORD PTR opnd$[rbp]
mov rdx, rdi
mov BYTE PTR [rsp+32], 2
lea rcx, QWORD PTR i$[rbp]
call EvalOperand
cmp eax, -1
jne SHORT $LN26@LoopDirect
; 60 : opnd.value = 0;
; 61 : i = Token_Count;
mov eax, DWORD PTR ModuleInfo+496
mov rsi, QWORD P... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 161 | 220 |
Terraspace/UASM:x64/Release/loop.asm:6 | movsxd rax, DWORD PTR i$[rbp]
shl rax, 5
cmp BYTE PTR [rax+rdi], r13b
je SHORT $LN109@LoopDirect
; 67 : EmitErr( SYNTAX_ERROR_EX, tokenarray[i].tokpos );
mov rdx, QWORD PTR [rax+rdi+24]
mov ecx, 209 ; 000000d1H
call EmitErr
; 68 : /* v2.09: don't exit, the macro lines must be rea... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 201 | 260 |
Terraspace/UASM:x64/Release/loop.asm:7 | mov rax, QWORD PTR [rdx+8]
movzx r8d, BYTE PTR [rax]
lea eax, DWORD PTR [r8-36]
cmp al, 59 ; 0000003bH
ja SHORT $LN101@LoopDirect
mov r9, 576460752706076673 ; 0800000018000001H
bt r9, rax
jb SHORT $LN33@LoopDirect
$LN101@LoopDirect:
cmp r8b, 46 ; 0000002eH
jne SHORT $LN100@LoopDirect
test BYTE PTR M... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 241 | 300 |
Terraspace/UASM:x64/Release/loop.asm:8 | ; 126 : * these items will be stored as (first) macro parameter.
; 127 : * for example, valid syntax is:
; 128 : * FOR xxx,<a, ...>
; 129 : * FOR xxx:REQ,<a, ...>
; 130 : */
; 131 : while ( tokenarray[i].token != T_FINAL && tokenarray[i]... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 281 | 340 |
Terraspace/UASM:x64/Release/loop.asm:9 | ; 137 : /* FOR/IRP accepts a literal enclosed in <> only */
; 138 : if( tokenarray[i].token != T_STRING || tokenarray[i].string_delim != '<' ) {
movsxd rdx, ecx
shl rdx, 5
add rdx, rdi
mov DWORD PTR i$[rbp], ecx
cmp BYTE PTR [rdx], 9
jne SHORT $LN100@LoopDirect
cmp BYTE PTR [rdx+1], 60... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 321 | 380 |
Terraspace/UASM:x64/Release/loop.asm:10 | mov rsi, QWORD PTR [rdx+8]
jmp $LN39@LoopDirect
$LN36@LoopDirect:
; 91 :
; 92 : if( directive == T_FORC || directive == T_IRPC ) {
; 93 : if( tokenarray[i].token != T_COMMA ) {
movsxd rdx, ecx
shl rdx, 5
cmp BYTE PTR [rdx+rdi], 44 ; 0000002cH
je SHORT $LN37@LoopDirect
$LN115@LoopDirec... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 361 | 420 |
Terraspace/UASM:x64/Release/loop.asm:11 | mov ebx, DWORD PTR [rcx+56]
sub ebx, DWORD PTR [rcx+24]
dec ebx
; 100 : parmstring = myalloca( len );
movsxd r12, ebx
lea rax, QWORD PTR [r12+15]
cmp rax, r12
ja SHORT $LN107@LoopDirect
mov rax, 1152921504606846960 ; 0ffffffffffffff0H
$LN107@LoopDirect:
and rax, -16
call __chkstk
; 101 : ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 401 | 460 |
Terraspace/UASM:x64/Release/loop.asm:13 | cmp BYTE PTR [r12], r13b
je SHORT $LN7@LoopDirect
$LL6@LoopDirect:
movsx ecx, BYTE PTR [rbx]
call isspace
test eax, eax
jne SHORT $LN7@LoopDirect
; 118 : ptr2++;
inc rbx
cmp BYTE PTR [rbx], r13b
jne SHORT $LL6@LoopDirect
$LN7@LoopDirect:
; 119 : len = ptr2 - ptr;
sub e... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 481 | 540 |
Terraspace/UASM:x64/Release/loop.asm:14 | call memcpy
; 122 : *(parmstring+len) = NULLC;
mov BYTE PTR [rbx+rsi], r13b
$LN113@LoopDirect:
mov ecx, DWORD PTR i$[rbp]
$LN39@LoopDirect:
; 154 : DebugMsg1(("LoopDirective(FOR): param string >%s<\n", parmstring));
; 155 : }
; 156 : /* to run StoreMacro(), tokenarra... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 521 | 580 |
Terraspace/UASM:x64/Release/loop.asm:15 | xor edx, edx
lea rcx, QWORD PTR tmpmacro$[rbp]
lea r8d, QWORD PTR [rdx+120]
call memset
; 167 : tmpmacro.sym.name = "";
lea rax, OFFSET FLAT:$SG10971
mov QWORD PTR tmpmacro$[rbp+8], rax
; 168 : tmpmacro.e.macroinfo = &macinfo;
lea rax, QWORD PTR macinfo$[rbp]
mov QWORD PTR tmpmacro$[rbp+96], rax
;... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 561 | 620 |
Terraspace/UASM:x64/Release/loop.asm:16 | ; 184 : if( StoreMacro( macro, i, tokenarray, TRUE ) == ERROR ) {
mov edx, DWORD PTR i$[rbp]
lea rcx, QWORD PTR tmpmacro$[rbp]
mov r9b, 1
mov DWORD PTR macinfo$[rbp+24], eax
mov r8, rdi
call StoreMacro
cmp eax, -1
jne SHORT $LN45@LoopDirect
; 185 : ReleaseMacroData( macro );
lea rcx, QWORD PTR... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 601 | 660 |
Terraspace/UASM:x64/Release/loop.asm:17 | je $LN78@LoopDirect
lea eax, DWORD PTR [r15-386]
test eax, -3 ; fffffffdH
je $LN52@LoopDirect
; 200 : switch ( directive ) {
cmp r15d, 388 ; 00000184H
jle $LN59@LoopDirect
cmp r15d, 390 ; 00000186H
jle $LN47@LoopDirect
cmp r15d, 391 ; 00000187H
jne $LN59@LoopDirect
; 215 : case T_WHIL... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 641 | 700 |
Terraspace/UASM:x64/Release/loop.asm:18 | ; 220 : break;
; 221 : i = arg_loc;
; 222 : if ( EvalOperand( &i, tokenarray, Token_Count, &opnd, 0 ) == ERROR )
mov r8d, DWORD PTR ModuleInfo+496
lea r9, QWORD PTR opnd$[rbp]
mov rdx, rdi
mov DWORD PTR i$[rbp], r14d
lea rcx, QWORD PTR i$[rbp]
mov BYTE PTR [rsp+32], r13... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 681 | 740 |
Terraspace/UASM:x64/Release/loop.asm:19 | ; 206 : tokenarray[0].token = T_FINAL;
; 207 : Token_Count = 0;
; 208 : //RunMacro( macro, Token_Count, tokenarray, NULL, MF_NOSAVE, &is_exitm );
; 209 : RunMacro( macro, 0, tokenarray, NULL, MF_NOSAVE, &is_exitm );
lea rax, QWORD PTR is_exitm$[rbp]
mov BYTE PTR [r... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 721 | 780 |
Terraspace/UASM:x64/Release/loop.asm:21 | ; 270 : tokenarray[Token_Count].string_delim = NULLC;
movsxd rax, DWORD PTR ModuleInfo+496
shl rax, 5
mov BYTE PTR [rax+rdi+1], r13b
; 271 : tokenarray[Token_Count].stringlen = strlen( tokenarray[Token_Count].tokpos );
movsxd rdx, DWORD PTR ModuleInfo+496
shl rdx, 5
or rax, -1
mov rc... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 801 | 860 |
Terraspace/UASM:x64/Release/loop.asm:22 | mov edx, DWORD PTR ModuleInfo+496
$LN60@LoopDirect:
; 275 : }
; 276 :
; 277 : /* a FOR/IRP parameter can be a macro function call */
; 278 : /* that's why the macro calls must be run synchronously */
; 279 : /* v2.05: reset an optional VARARG attribute for the macro
; 280 : ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 841 | 900 |
Terraspace/UASM:x64/Release/loop.asm:23 | test eax, eax
js $LN78@LoopDirect
cmp BYTE PTR is_exitm$[rbp], r13b
jne $LN78@LoopDirect
; 285 : /* v2.09: flag MF_IGNARGS introduced. This allows RunMacro() to
; 286 : * parse the full argument and trigger macro expansion if necessary.
; 287 : * No need anymore to count commas here. */... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 881 | 940 |
Terraspace/UASM:x64/Release/loop.asm:24 | lea rax, QWORD PTR buffer$[rbp]
mov QWORD PTR [rdi+24], rax
; 234 : tokenarray[1].token = T_FINAL;
mov BYTE PTR [rdi+32], r13b
; 235 : buffer[2] = NULLC;
; 236 : Token_Count = 1;
mov DWORD PTR ModuleInfo+496, 1
mov BYTE PTR buffer$[rbp+2], r13b
; 237 : if ( *... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 921 | 980 |
Terraspace/UASM:x64/Release/loop.asm:25 | ; 242 : tokenarray[0].stringlen = 2;
mov DWORD PTR [rdi+16], 2
; 243 : tokenarray[1].tokpos = buffer+2;
lea rax, QWORD PTR buffer$[rbp+2]
jmp SHORT $LN114@LoopDirect
$LN53@LoopDirect:
; 244 : } else if ( isspace( *ptr ) ) {
movsx ecx, al
call isspace
test eax, e... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 961 | 1,020 |
Terraspace/UASM:x64/Release/loop.asm:26 | mov BYTE PTR buffer$[rbp], al
; 251 : tokenarray[0].stringlen = 1;
; 252 : tokenarray[1].tokpos = buffer+1;
lea rax, QWORD PTR buffer$[rbp+1]
mov DWORD PTR [rdi+16], 1
; 253 : buffer[1] = NULLC;
mov BYTE PTR buffer$[rbp+1], r13b
$LN114@LoopDirect:
; 254 : ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Release/loop.asm:27 | ; 292 : break;
; 293 : }
; 294 : }
; 295 : ReleaseMacroData( macro );
lea rcx, QWORD PTR tmpmacro$[rbp]
call ReleaseMacroData
; 296 : DebugMsg1(("LoopDirective(%s) exit\n", GetResWName( directive, NULL ) ));
; 297 : return( NOT_ERROR );
xor eax, eax
$LN1@LoopDirect:
... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | d832b9ab6afa8277173106bf0906038b8ee7956f | github | assembler | https://github.com/Terraspace/UASM/blob/d832b9ab6afa8277173106bf0906038b8ee7956f/x64/Release/loop.asm | 1,041 | 1,070 |
Terraspace/UASM:x64/Release/loop.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
_DATA ENDS
_BSS SEGMENT
$SG10973 DB 01H DUP (?)
_BSS ENDS
PUBLIC LoopDirective
EXTRN isalpha:PROC
EXTRN isspac... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/loop.asm | 1 | 60 |
Terraspace/UASM:x64/Release/loop.asm:14 | call memcpy
; 122 : *(parmstring+len) = NULLC;
mov BYTE PTR [rbx+rsi], r13b
$LN113@LoopDirect:
mov ecx, DWORD PTR i$[rbp]
$LN39@LoopDirect:
; 154 : DebugMsg1(("LoopDirective(FOR): param string >%s<\n", parmstring));
; 155 : }
; 156 : /* to run StoreMacro(), tokenarra... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/loop.asm | 521 | 580 |
Terraspace/UASM:x64/Release/loop.asm:15 | xor edx, edx
lea rcx, QWORD PTR tmpmacro$[rbp]
lea r8d, QWORD PTR [rdx+120]
call memset
; 167 : tmpmacro.sym.name = "";
lea rax, OFFSET FLAT:$SG10973
mov QWORD PTR tmpmacro$[rbp+8], rax
; 168 : tmpmacro.e.macroinfo = &macinfo;
lea rax, QWORD PTR macinfo$[rbp]
mov QWORD PTR tmpmacro$[rbp+96], rax
;... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | dbae18e5556c63dc8a3c3f50e8c9624a792aeda2 | github | assembler | https://github.com/Terraspace/UASM/blob/dbae18e5556c63dc8a3c3f50e8c9624a792aeda2/x64/Release/loop.asm | 561 | 620 |
Terraspace/UASM:x64/Release/loop.asm:4 | cmp r15d, 390 ; 00000186H
jle SHORT $LN108@LoopDirect
cmp r15d, 391 ; 00000187H
je SHORT $LN25@LoopDirect
$LN31@LoopDirect:
; 73 : default: /* FOR, FORC, IRP, IRPC */
; 74 : /* get the formal parameter and the argument list */
; 75 : /* the format parameter will become a macro parame... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/loop.asm | 121 | 180 |
Terraspace/UASM:x64/Release/loop.asm:5 | mov r8d, DWORD PTR ModuleInfo+496
lea r9, QWORD PTR opnd$[rbp]
mov rdx, rdi
mov BYTE PTR [rsp+32], 2
lea rcx, QWORD PTR i$[rbp]
call EvalOperand
cmp eax, -1
jne SHORT $LN26@LoopDirect
; 60 : opnd.value = 0;
; 61 : i = Token_Count;
mov eax, DWORD PTR ModuleInfo+496
mov rsi, QWORD P... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/loop.asm | 161 | 220 |
Terraspace/UASM:x64/Release/loop.asm:6 | movsxd rax, DWORD PTR i$[rbp]
shl rax, 5
cmp BYTE PTR [rax+rdi], r13b
je SHORT $LN109@LoopDirect
; 67 : EmitErr( SYNTAX_ERROR_EX, tokenarray[i].tokpos );
mov rdx, QWORD PTR [rax+rdi+24]
mov ecx, 210 ; 000000d2H
call EmitErr
; 68 : /* v2.09: don't exit, the macro lines must be rea... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/loop.asm | 201 | 260 |
Terraspace/UASM:x64/Release/loop.asm:7 | mov rax, QWORD PTR [rdx+8]
movzx r8d, BYTE PTR [rax]
lea eax, DWORD PTR [r8-36]
cmp al, 59 ; 0000003bH
ja SHORT $LN101@LoopDirect
mov r9, 576460752706076673 ; 0800000018000001H
bt r9, rax
jb SHORT $LN33@LoopDirect
$LN101@LoopDirect:
cmp r8b, 46 ; 0000002eH
jne SHORT $LN100@LoopDirect
test BYTE PTR M... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/loop.asm | 241 | 300 |
Terraspace/UASM:x64/Release/loop.asm:9 | ; 137 : /* FOR/IRP accepts a literal enclosed in <> only */
; 138 : if( tokenarray[i].token != T_STRING || tokenarray[i].string_delim != '<' ) {
movsxd rdx, ecx
shl rdx, 5
add rdx, rdi
mov DWORD PTR i$[rbp], ecx
cmp BYTE PTR [rdx], 9
jne SHORT $LN100@LoopDirect
cmp BYTE PTR [rdx+1], 60... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/loop.asm | 321 | 380 |
Terraspace/UASM:x64/Release/loop.asm:10 | mov rsi, QWORD PTR [rdx+8]
jmp $LN39@LoopDirect
$LN36@LoopDirect:
; 91 :
; 92 : if( directive == T_FORC || directive == T_IRPC ) {
; 93 : if( tokenarray[i].token != T_COMMA ) {
movsxd rdx, ecx
shl rdx, 5
cmp BYTE PTR [rdx+rdi], 44 ; 0000002cH
je SHORT $LN37@LoopDirect
$LN115@LoopDirec... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/loop.asm | 361 | 420 |
Terraspace/UASM:x64/Release/loop.asm:11 | mov ebx, DWORD PTR [rcx+56]
sub ebx, DWORD PTR [rcx+24]
dec ebx
; 100 : parmstring = myalloca( len );
movsxd r12, ebx
lea rax, QWORD PTR [r12+15]
cmp rax, r12
ja SHORT $LN107@LoopDirect
mov rax, 1152921504606846960 ; 0ffffffffffffff0H
$LN107@LoopDirect:
and rax, -16
call __chkstk
; 101 : ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/loop.asm | 401 | 460 |
Terraspace/UASM:x64/Release/loop.asm:12 | ; 104 : *(parmstring+len-1) = NULLC;
movsxd rax, ebx
mov BYTE PTR [rax+rsi-1], r13b
; 105 : /* v2.02: if there's additional stuff behind the <> literal,
; 106 : * it's an error!
; 107 : */
; 108 : if ( tokenarray[i+1].token != T_... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/loop.asm | 441 | 500 |
Terraspace/UASM:x64/Release/loop.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_BSS SEGMENT
$SG10971 DB 01H DUP (?)
_BSS ENDS
PUBLIC LoopDirective
EXTRN isalpha:PROC
EXTRN isspace:PROC
EXTRN Em... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 1 | 60 |
Terraspace/UASM:x64/Release/loop.asm:2 | DD 0d00be00dH
DD 07007c009H
DD 050056006H
xdata ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\loop.c
_TEXT SEGMENT
macinfo$ = 0
tmpmacro$ = 32
opnd$ = 160
arg_loc$ = 336
i$ = 336
is_exitm$ = 344
parmstring$ = 344
tokenarray$ = 344
buffer$ = 352
LoopDirective PROC
; 26 : {
$LN1... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 41 | 100 |
Terraspace/UASM:x64/Release/loop.asm:4 | jle SHORT $LN108@LoopDirect
cmp r15d, 391 ; 00000187H
je SHORT $LN25@LoopDirect
$LN31@LoopDirect:
; 73 : default: /* FOR, FORC, IRP, IRPC */
; 74 : /* get the formal parameter and the argument list */
; 75 : /* the format parameter will become a macro parameter, so it can
; 76 : ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 121 | 180 |
Terraspace/UASM:x64/Release/loop.asm:6 | shl rax, 5
cmp BYTE PTR [rax+rdi], r13b
je SHORT $LN109@LoopDirect
; 67 : EmitErr( SYNTAX_ERROR_EX, tokenarray[i].tokpos );
mov rdx, QWORD PTR [rax+rdi+24]
mov ecx, 209 ; 000000d1H
call EmitErr
; 68 : /* v2.09: don't exit, the macro lines must be read first. */
; 69 : ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 201 | 260 |
Terraspace/UASM:x64/Release/loop.asm:7 | movzx r8d, BYTE PTR [rax]
lea eax, DWORD PTR [r8-36]
cmp al, 59 ; 0000003bH
ja SHORT $LN101@LoopDirect
mov r9, 576460752706076673 ; 0800000018000001H
bt r9, rax
jb SHORT $LN33@LoopDirect
$LN101@LoopDirect:
cmp r8b, 46 ; 0000002eH
jne SHORT $LN100@LoopDirect
test BYTE PTR ModuleInfo+408, 16
jne SHORT... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 241 | 300 |
Terraspace/UASM:x64/Release/loop.asm:8 | ; 127 : * for example, valid syntax is:
; 128 : * FOR xxx,<a, ...>
; 129 : * FOR xxx:REQ,<a, ...>
; 130 : */
; 131 : while ( tokenarray[i].token != T_FINAL && tokenarray[i].token != T_COMMA )
movsxd rax, ecx
shl rax, 5
movzx edx, BYTE PTR [rax+rdi... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 281 | 340 |
Terraspace/UASM:x64/Release/loop.asm:9 | ; 137 : /* FOR/IRP accepts a literal enclosed in <> only */
; 138 : if( tokenarray[i].token != T_STRING || tokenarray[i].string_delim != '<' ) {
movsxd rdx, ecx
shl rdx, 5
add rdx, rdi
mov DWORD PTR i$[rbp], ecx
cmp BYTE PTR [rdx], 9
jne SHORT $LN100@LoopDirect
cmp BYTE PTR [rdx+1], 60... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 321 | 380 |
Terraspace/UASM:x64/Release/loop.asm:10 | jmp $LN39@LoopDirect
$LN36@LoopDirect:
; 91 :
; 92 : if( directive == T_FORC || directive == T_IRPC ) {
; 93 : if( tokenarray[i].token != T_COMMA ) {
movsxd rdx, ecx
shl rdx, 5
cmp BYTE PTR [rdx+rdi], 44 ; 0000002cH
je SHORT $LN37@LoopDirect
$LN115@LoopDirect:
; 94 : ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 361 | 420 |
Terraspace/UASM:x64/Release/loop.asm:11 | mov ebx, DWORD PTR [rcx+56]
sub ebx, DWORD PTR [rcx+24]
dec ebx
; 100 : parmstring = myalloca( len );
movsxd r12, ebx
lea rax, QWORD PTR [r12+15]
cmp rax, r12
ja SHORT $LN107@LoopDirect
mov rax, 1152921504606846960 ; 0ffffffffffffff0H
$LN107@LoopDirect:
and rax, -16
call __chkstk
; 101 : ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 401 | 460 |
Terraspace/UASM:x64/Release/loop.asm:12 | movsxd rax, ebx
mov BYTE PTR [rax+rsi-1], r13b
; 105 : /* v2.02: if there's additional stuff behind the <> literal,
; 106 : * it's an error!
; 107 : */
; 108 : if ( tokenarray[i+1].token != T_FINAL )
movsxd rcx, DWORD PTR i$[rbp]
mov rax, rcx
s... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 441 | 500 |
Terraspace/UASM:x64/Release/loop.asm:13 | cmp BYTE PTR [r12], r13b
je SHORT $LN7@LoopDirect
$LL6@LoopDirect:
movsx ecx, BYTE PTR [rbx]
call isspace
test eax, eax
jne SHORT $LN7@LoopDirect
; 118 : ptr2++;
inc rbx
cmp BYTE PTR [rbx], r13b
jne SHORT $LL6@LoopDirect
$LN7@LoopDirect:
; 119 : len = ptr2 - ptr;
sub e... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 481 | 540 |
Terraspace/UASM:x64/Release/loop.asm:14 | ; 122 : *(parmstring+len) = NULLC;
mov BYTE PTR [rbx+rsi], r13b
$LN113@LoopDirect:
mov ecx, DWORD PTR i$[rbp]
$LN39@LoopDirect:
; 154 : DebugMsg1(("LoopDirective(FOR): param string >%s<\n", parmstring));
; 155 : }
; 156 : /* to run StoreMacro(), tokenarray must be set... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 521 | 580 |
Terraspace/UASM:x64/Release/loop.asm:15 | lea rcx, QWORD PTR tmpmacro$[rbp]
lea r8d, QWORD PTR [rdx+120]
call memset
; 167 : tmpmacro.sym.name = "";
lea rax, OFFSET FLAT:$SG10971
mov QWORD PTR tmpmacro$[rbp+8], rax
; 168 : tmpmacro.e.macroinfo = &macinfo;
lea rax, QWORD PTR macinfo$[rbp]
mov QWORD PTR tmpmacro$[rbp+96], rax
; 169 : me... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 561 | 620 |
Terraspace/UASM:x64/Release/loop.asm:16 | mov edx, DWORD PTR i$[rbp]
lea rcx, QWORD PTR tmpmacro$[rbp]
mov r9b, 1
mov DWORD PTR macinfo$[rbp+24], eax
mov r8, rdi
call StoreMacro
cmp eax, -1
jne SHORT $LN45@LoopDirect
; 185 : ReleaseMacroData( macro );
lea rcx, QWORD PTR tmpmacro$[rbp]
call ReleaseMacroData
; 186 : return( ERROR );... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 601 | 660 |
Terraspace/UASM:x64/Release/loop.asm:17 | lea eax, DWORD PTR [r15-386]
test eax, -3 ; fffffffdH
je $LN52@LoopDirect
; 200 : switch ( directive ) {
cmp r15d, 388 ; 00000184H
jle $LN59@LoopDirect
cmp r15d, 390 ; 00000186H
jle $LN47@LoopDirect
cmp r15d, 391 ; 00000187H
jne $LN59@LoopDirect
; 215 : case T_WHILE:
; 216 : w... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 641 | 700 |
Terraspace/UASM:x64/Release/loop.asm:19 | ; 207 : Token_Count = 0;
; 208 : //RunMacro( macro, Token_Count, tokenarray, NULL, MF_NOSAVE, &is_exitm );
; 209 : RunMacro( macro, 0, tokenarray, NULL, MF_NOSAVE, &is_exitm );
lea rax, QWORD PTR is_exitm$[rbp]
mov BYTE PTR [rdi], r13b
mov QWORD PTR [rsp+40], rax
lea rcx, QWO... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 721 | 780 |
Terraspace/UASM:x64/Release/loop.asm:20 | ; 258 : DebugMsg1(("LoopDirective FORC: call RunMacro(), cnt=%" I32_SPEC "u, param=>%s<\n", count++, buffer ));
; 259 : }
; 260 : break;
; 261 : default: /* T_FOR, T_IRP */
; 262 : i = Token_Count + 1;
mov edx, DWORD PTR ModuleInfo+496
; 263 : Token_Count = Token... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 761 | 820 |
Terraspace/UASM:x64/Release/loop.asm:22 | $LN60@LoopDirect:
; 275 : }
; 276 :
; 277 : /* a FOR/IRP parameter can be a macro function call */
; 278 : /* that's why the macro calls must be run synchronously */
; 279 : /* v2.05: reset an optional VARARG attribute for the macro
; 280 : * parameter.
; 281 : ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 841 | 900 |
Terraspace/UASM:x64/Release/loop.asm:23 | test eax, eax
js $LN78@LoopDirect
cmp BYTE PTR is_exitm$[rbp], r13b
jne $LN78@LoopDirect
; 285 : /* v2.09: flag MF_IGNARGS introduced. This allows RunMacro() to
; 286 : * parse the full argument and trigger macro expansion if necessary.
; 287 : * No need anymore to count commas here. */... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 881 | 940 |
Terraspace/UASM:x64/Release/loop.asm:25 | mov DWORD PTR [rdi+16], 2
; 243 : tokenarray[1].tokpos = buffer+2;
lea rax, QWORD PTR buffer$[rbp+2]
jmp SHORT $LN114@LoopDirect
$LN53@LoopDirect:
; 244 : } else if ( isspace( *ptr ) ) {
movsx ecx, al
call isspace
test eax, eax
je SHORT $LN56@LoopDirect
; 245 : ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 961 | 1,020 |
Terraspace/UASM:x64/Release/loop.asm:26 | ; 251 : tokenarray[0].stringlen = 1;
; 252 : tokenarray[1].tokpos = buffer+1;
lea rax, QWORD PTR buffer$[rbp+1]
mov DWORD PTR [rdi+16], 1
; 253 : buffer[1] = NULLC;
mov BYTE PTR buffer$[rbp+1], r13b
$LN114@LoopDirect:
; 254 : }
; 255 : ... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 8620efda0299123d1e80a37337b2d5ecea45ed1b | github | assembler | https://github.com/Terraspace/UASM/blob/8620efda0299123d1e80a37337b2d5ecea45ed1b/x64/Release/loop.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Release/loop.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
_BSS SEGMENT
$SG10966 DB 01H DUP (?)
_BSS ENDS
PUBLIC LoopDirective
EXTRN isalpha:PROC
EXTRN isspace:PROC
EXTRN Em... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/loop.asm | 1 | 60 |
Terraspace/UASM:x64/Release/loop.asm:14 | ; 122 : *(parmstring+len) = NULLC;
mov BYTE PTR [rbx+rsi], r13b
$LN113@LoopDirect:
mov ecx, DWORD PTR i$[rbp]
$LN39@LoopDirect:
; 154 : DebugMsg1(("LoopDirective(FOR): param string >%s<\n", parmstring));
; 155 : }
; 156 : /* to run StoreMacro(), tokenarray must be set... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/loop.asm | 521 | 580 |
Terraspace/UASM:x64/Release/loop.asm:15 | lea rcx, QWORD PTR tmpmacro$[rbp]
lea r8d, QWORD PTR [rdx+120]
call memset
; 167 : tmpmacro.sym.name = "";
lea rax, OFFSET FLAT:$SG10966
mov QWORD PTR tmpmacro$[rbp+8], rax
; 168 : tmpmacro.e.macroinfo = &macinfo;
lea rax, QWORD PTR macinfo$[rbp]
mov QWORD PTR tmpmacro$[rbp+96], rax
; 169 : me... | x86_64 | masm-like | macro-heavy | Terraspace/UASM | x64/Release/loop.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/loop.asm | 561 | 620 |
Terraspace/UASM:x64/Release/lqueue.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
PUBLIC DeleteLineQueue
PUBLIC AddLineQueue
PUBLIC AddLineQueueX
PUBLIC RunLine... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 1 | 60 |
Terraspace/UASM:x64/Release/lqueue.asm:2 | $pdata$AddLineQueue DD imagerel $LN8
DD imagerel $LN8+120
DD imagerel $unwind$AddLineQueue
$pdata$AddLineQueueX DD imagerel $LN38
DD imagerel $LN38+27
DD imagerel $unwind$AddLineQueueX
$pdata$0$AddLineQueueX DD imagerel $LN38+27
DD imagerel $LN38+36
DD imagerel $chain$0$AddLineQueueX
$pdata$2$AddLineQueueX DD ima... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 41 | 100 |
Terraspace/UASM:x64/Release/lqueue.asm:3 | $chain$0$DeleteLineQueue DD 020521H
DD 043405H
DD imagerel $LN12
DD imagerel $LN12+16
DD imagerel $unwind$DeleteLineQueue
$chain$1$DeleteLineQueue DD 021H
DD imagerel $LN12
DD imagerel $LN12+16
DD imagerel $unwind$DeleteLineQueue
$unwind$AddLineQueue DD 060f01H
DD 07640fH
DD 06340fH
DD 0700b320fH
$unwind$AddL... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 81 | 140 |
Terraspace/UASM:x64/Release/lqueue.asm:4 | DD imagerel $chain$0$AddLineQueueX
$chain$7$AddLineQueueX DD 021H
DD imagerel $LN38
DD imagerel $LN38+27
DD imagerel $unwind$AddLineQueueX
$chain$8$AddLineQueueX DD 0a0021H
DD 087f400H
DD 088e400H
DD 0897400H
DD 08a6400H
DD 08b5400H
DD imagerel $LN38
DD imagerel $LN38+27
DD imagerel $unwind$AddLineQueueX
$un... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 121 | 180 |
Terraspace/UASM:x64/Release/lqueue.asm:5 | ; 180 : struct input_status oldstat;
; 181 : struct asm_tok *tokenarray;
; 182 : struct lq_line *currline = line_queue.head;
mov rbx, QWORD PTR ModuleInfo+184
; 183 :
; 184 : DebugMsg1(( "RunLineQueue() enter\n" ));
; 185 :
; 186 : /* v2.03: ensure the current source buffer is still aligne... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 161 | 220 |
Terraspace/UASM:x64/Release/lqueue.asm:6 | ; 198 : struct lq_line *nextline = currline->next;
mov rdi, QWORD PTR [rbx]
; 199 : strcpy( CurrSource, currline->line );
lea r8, QWORD PTR [rbx+8]
mov rdx, QWORD PTR ModuleInfo+464
npad 1
$LL7@RunLineQue:
movzx eax, BYTE PTR [r8]
lea r8, QWORD PTR [r8+1]
mov BYTE PTR [rdx], al
lea rdx, QWO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 201 | 260 |
Terraspace/UASM:x64/Release/lqueue.asm:7 | test rdi, rdi
jne SHORT $LL2@RunLineQue
; 194 : DebugCmd( lqlines_written = 0 ); /* reset counter for AddLineQueue() */
; 195 : DebugCmd( lqlines_read = 0 ); /* reset counter for line-queue reads below */
; 196 :
; 197 : for ( ; currline; ) {
mov ecx, DWORD PTR ModuleInfo+456
mov rdi, QWORD PTR [rs... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 241 | 300 |
Terraspace/UASM:x64/Release/lqueue.asm:8 | ; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\lqueue.c
_TEXT SEGMENT
buffer$ = 48
fmt$ = 1136
AddLineQueueX PROC
; 98 : {
$LN38:
mov rax, rsp
mov QWORD PTR [rax+8], rcx
mov QWORD PTR [rax+16], rdx
mov QWORD PTR [rax+24], r8
mov QWORD PTR [rax+32], r9
push rbx
sub rsp, 1120 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 281 | 340 |
Terraspace/UASM:x64/Release/lqueue.asm:9 | ; 109 : va_start( args, fmt );
mov QWORD PTR [rax-48], r15
add r14, -8
lea r15, OFFSET FLAT:__ImageBase
mov QWORD PTR [rax-32], rdi
$LL4@AddLineQue:
; 111 : if ( *s == '%' ) {
movzx eax, BYTE PTR [rsi]
cmp al, 37 ; 00000025H
jne $LN7@AddLineQue
; 112 : s++;
; 113 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 321 | 380 |
Terraspace/UASM:x64/Release/lqueue.asm:10 | ; 117 : /* v2.06: the name is already copied */
; 118 : //memcpy( d, ResWordTable[i].name, ResWordTable[i].len );
; 119 : d += ResWordTable[i].len;
mov rax, rdi
add rax, rax
movzx eax, BYTE PTR ResWordTable[r15+rax*8+2]
add rbx, rax
; 120 : break... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 361 | 420 |
Terraspace/UASM:x64/Release/lqueue.asm:11 | ; 126 : *d = NULLC;
mov BYTE PTR [rbx], 0
; 127 : break;
jmp $LN2@AddLineQue
$LN11@AddLineQue:
; 128 : #if AMD64_SUPPORT
; 129 : case 'q':
; 130 : q = va_arg(args, int_64);
mov rcx, QWORD PTR [r14+8]
add r14, 8
; 131 : myqtoa(q, d, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 401 | 460 |
Terraspace/UASM:x64/Release/lqueue.asm:12 | je SHORT $LN2@AddLineQue
; 135 : *d++ = 't';
mov BYTE PTR [rbx], 116 ; 00000074H
; 136 : break;
jmp SHORT $LN34@AddLineQue
$LN13@AddLineQue:
; 137 : #endif
; 138 : case 'd':
; 139 : case 'u':
; 140 : case 'x':
; 141 : #ifdef __I86__ /* v2... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 441 | 500 |
Terraspace/UASM:x64/Release/lqueue.asm:13 | $LL29@AddLineQue:
inc rax
cmp BYTE PTR [rbx+rax], 0
jne SHORT $LL29@AddLineQue
add rbx, rax
; 149 : } else {
jmp SHORT $LN2@AddLineQue
$LN14@AddLineQue:
; 150 : myltoa( l, d, 10, l < 0, FALSE );
test ecx, ecx
mov r8d, 10
sets r9b
call myltoa
; 151 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 481 | 540 |
Terraspace/UASM:x64/Release/lqueue.asm:14 | ; 159 : }
; 160 : } else
jmp SHORT $LN34@AddLineQue
$LN7@AddLineQue:
; 161 : *d++ = *s;
mov BYTE PTR [rbx], al
$LN34@AddLineQue:
inc rbx
$LN2@AddLineQue:
; 110 : for ( s = fmt, d = buffer; *s; s++ ) {
inc rsi
cmp BYTE PTR [rsi], 0
jne $LL4@AddLineQue
mov r15, QWORD PT... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 521 | 580 |
Terraspace/UASM:x64/Release/lqueue.asm:15 | lea r8d, DWORD PTR [rbp+1]
mov rbx, rax
lea rdx, QWORD PTR buffer$[rsp]
lea rcx, QWORD PTR [rax+8]
mov QWORD PTR [rax], 0
call memcpy
cmp QWORD PTR ModuleInfo+184, 0
mov rbp, QWORD PTR [rsp+1112]
jne SHORT $LN20@AddLineQue
mov QWORD PTR ModuleInfo+184, rbx
mov QWORD PTR ModuleInfo+192, rbx
; 167 : retur... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 561 | 620 |
Terraspace/UASM:x64/Release/lqueue.asm:16 | DD $LN9@AddLineQue
DD $LN10@AddLineQue
DD $LN17@AddLineQue
$LN32@AddLineQue:
DB 0
DB 4
DB 4
DB 4
DB 4
DB 4
DB 4
DB 4
DB 4
DB 4
DB 4
DB 4
DB 4
DB 1
DB 2
DB 3
DB 4
DB 0
DB 4
DB 4
DB 0
AddLineQueueX ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\lqueue.... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 601 | 660 |
Terraspace/UASM:x64/Release/lqueue.asm:17 | mov rsi, rcx
; 69 : unsigned i = strlen( line );
or rbx, -1
$LL5@AddLineQue:
inc rbx
cmp BYTE PTR [rcx+rbx], 0
jne SHORT $LL5@AddLineQue
; 70 : struct lq_line *new;
; 71 :
; 72 : DebugMsg1(( "AddLineQueue(%p): #=%u >%s<\n", line, ++lqlines_written, line ));
; 73 :
; 74 : /* v2.11: l... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 641 | 700 |
Terraspace/UASM:x64/Release/lqueue.asm:18 | jne SHORT $LN2@AddLineQue
; 85 : line_queue.head = new;
mov QWORD PTR ModuleInfo+184, rdi
; 86 : } else {
jmp SHORT $LN6@AddLineQue
$LN2@AddLineQue:
; 87 : /* insert at the tail */
; 88 : ((struct qnode *)line_queue.tail)->next = new;
mov rax, QWORD PTR ModuleInfo+192
mov Q... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 681 | 740 |
Terraspace/UASM:x64/Release/lqueue.asm:19 | ; 46 : struct qitem *curr;
; 47 : struct qitem *next;
; 48 : for( curr = line_queue.head; curr; curr = next ) {
mov rcx, QWORD PTR ModuleInfo+184
test rcx, rcx
je SHORT $LN10@DeleteLine
mov QWORD PTR [rsp+32], rbx
$LL4@DeleteLine:
; 49 : next = curr->next;
mov rbx, QWORD PTR [rcx]
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 12b57bbdd33753207bcb1730f952f11ccb53cef0 | github | assembler | https://github.com/Terraspace/UASM/blob/12b57bbdd33753207bcb1730f952f11ccb53cef0/x64/Release/lqueue.asm | 721 | 756 |
Terraspace/UASM:x64/Release/lqueue.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
COMM ZEROLOCALS:BYTE
_DATA ENDS
PUBLIC DeleteLineQueue
PUBLIC AddLineQueue
PUBLIC AddLineQueueX
PUBLIC RunLine... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 1 | 60 |
Terraspace/UASM:x64/Release/lqueue.asm:2 | DD imagerel $unwind$AddLineQueue
$pdata$AddLineQueueX DD imagerel $LN32
DD imagerel $LN32+27
DD imagerel $unwind$AddLineQueueX
$pdata$0$AddLineQueueX DD imagerel $LN32+27
DD imagerel $LN32+36
DD imagerel $chain$0$AddLineQueueX
$pdata$2$AddLineQueueX DD imagerel $LN32+36
DD imagerel $LN32+64
DD imagerel $chain$2$A... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 41 | 100 |
Terraspace/UASM:x64/Release/lqueue.asm:3 | $chain$1$DeleteLineQueue DD 021H
DD imagerel $LN12
DD imagerel $LN12+16
DD imagerel $unwind$DeleteLineQueue
$unwind$AddLineQueue DD 060f01H
DD 07640fH
DD 06340fH
DD 0700b320fH
$unwind$AddLineQueueX DD 031b01H
DD 08c011bH
DD 03014H
$chain$0$AddLineQueueX DD 020421H
DD 08b5404H
DD imagerel $LN32
DD imagerel $L... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 81 | 140 |
Terraspace/UASM:x64/Release/lqueue.asm:4 | $unwind$RunLineQueue DD 040a01H
DD 0b340aH
DD 06006720aH
$chain$0$RunLineQueue DD 020521H
DD 0a7405H
DD imagerel $LN16
DD imagerel $LN16+60
DD imagerel $unwind$RunLineQueue
$chain$1$RunLineQueue DD 021H
DD imagerel $LN16
DD imagerel $LN16+60
DD imagerel $unwind$RunLineQueue
xdata ENDS
; Function compile flags:... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 121 | 180 |
Terraspace/UASM:x64/Release/lqueue.asm:5 | ; 177 : ModuleInfo.GeneratedCode++;
mov ecx, DWORD PTR ModuleInfo+456
mov rsi, rax
inc ecx
; 178 :
; 179 : /* v2.11: line queues are no longer pushed onto the file stack.
; 180 : * Instead, the queue is processed directly here.
; 181 : */
; 182 : line_queue.head = NULL;
mov QWORD PTR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 161 | 220 |
Terraspace/UASM:x64/Release/lqueue.asm:6 | test al, al
jne SHORT $LL7@RunLineQue
; 189 : DebugCmd ( lqlines_read++ );
; 190 : MemFree( currline );
mov rcx, rbx
call MemFree
; 191 : if ( PreprocessLine( CurrSource, tokenarray ) )
mov rcx, QWORD PTR ModuleInfo+464
mov rdx, rsi
call PreprocessLine
test eax, eax
je SHORT $LN5@... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 201 | 260 |
Terraspace/UASM:x64/Release/lqueue.asm:7 | ; 196 : #ifdef DEBUG_OUT
; 197 : if ( ModuleInfo.EndDirFound == TRUE ) {
; 198 : DebugMsg(("!!!!! Warning: End directive found in generated-code parser loop!\n"));
; 199 : }
; 200 : #endif
; 201 : ModuleInfo.GeneratedCode--;
dec ecx
mov DWORD PTR ModuleInfo+456, ecx
; 202 : PopInputSt... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 241 | 300 |
Terraspace/UASM:x64/Release/lqueue.asm:8 | mov QWORD PTR [rax+32], r9
push rbx
sub rsp, 1120 ; 00000460H
mov QWORD PTR [rax-16], rbp
; 109 : for ( s = fmt, d = buffer; *s; s++ ) {
lea rbx, QWORD PTR buffer$[rsp]
mov QWORD PTR [rax-24], rsi
or rbp, -1
cmp BYTE PTR [rcx], 0
mov rsi, rcx
mov QWORD PTR [rax-40], r14
lea r14, QWORD PTR [rax+16]
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/lqueue.asm | Apache-2.0 | 8592c1239838388a147bc3dd26b6201f7573ac51 | github | assembler | https://github.com/Terraspace/UASM/blob/8592c1239838388a147bc3dd26b6201f7573ac51/x64/Release/lqueue.asm | 281 | 340 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.