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/preproc.asm:17 | mov rcx, QWORD PTR line$[rsp]
call WritePreprocessedLine
$LN4@WriteCodeL:
; 60 : Token_Count = oldcnt;
mov eax, DWORD PTR oldcnt$[rsp]
mov DWORD PTR ModuleInfo+496, eax
; 61 : tokenarray[2].token = oldtoken;
mov eax, 32 ; 00000020H
imul rax, rax, 2
mov rcx, QWORD PTR tokenarray$[rsp]
movzx ed... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/preproc.asm | 641 | 679 |
Terraspace/UASM:x64/Debug/preproc.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 cntppl0:DWORD
COMM cntppl1:DWORD
COMM cntppl2:DWORD
_DATA ENDS
_BSS SEGMENT
$SG10890 DB 01H DUP (?)
_BSS... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/preproc.asm:2 | EXTRN ModuleInfo:BYTE
EXTRN Parse_Pass:DWORD
EXTRN CurrIfState:DWORD
EXTRN StoreState:BYTE
EXTRN directive_tab:BYTE
pdata SEGMENT
$pdata$WriteCodeLabel DD imagerel $LN6
DD imagerel $LN6+336
DD imagerel $unwind$WriteCodeLabel
$pdata$PreprocessLine DD imagerel $LN34
DD imagerel $LN34+937
DD imagerel $unwind$Preproces... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/preproc.asm:3 | PreprocessLine PROC
; 73 : {
$LN34:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 96 ; 00000060H
mov rdi, rsp
mov ecx, 24
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+112]
; 74 : int i;
; 75 :
; 76 : /* v2.11: GetTextLine() removed - thi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/preproc.asm:4 | ; 85 : #ifdef DEBUG_OUT
; 86 : cntppl0++;
mov eax, DWORD PTR cntppl0
inc eax
mov DWORD PTR cntppl0, eax
; 87 : if ( ModuleInfo.GeneratedCode )
cmp DWORD PTR ModuleInfo+456, 0
je SHORT $LN4@Preprocess
; 88 : DebugMsg1(("PreprocessLine: >%s<\n", line ));
mov rdx, QWORD PTR line$[rsp]
l... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/preproc.asm:5 | ; 91 : #endif
; 92 :
; 93 : #if REMOVECOMENT == 0
; 94 : if ( Token_Count == 0 && ( CurrIfState == BLOCK_ACTIVE || ModuleInfo.listif ) )
cmp DWORD PTR ModuleInfo+496, 0
jne SHORT $LN6@Preprocess
cmp DWORD PTR CurrIfState, 0
je SHORT $LN7@Preprocess
mov eax, DWORD PTR ModuleInfo+408
shr eax, 13
and e... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/preproc.asm:6 | test eax, eax
je SHORT $LN9@Preprocess
; 104 : return( Token_Count );
mov eax, DWORD PTR ModuleInfo+496
jmp $LN1@Preprocess
$LN9@Preprocess:
; 105 : #endif
; 106 :
; 107 : /* CurrIfState != BLOCK_ACTIVE && Token_Count == 1 | 3 may happen
; 108 : * if a conditional assembly directive has been... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/preproc.asm:7 | cmp DWORD PTR tv135[rsp], 0
jge SHORT $LN11@Preprocess
; 112 : return( 0 );
xor eax, eax
jmp $LN1@Preprocess
$LN11@Preprocess:
$LN10@Preprocess:
; 113 : }
; 114 :
; 115 : DebugCmd( cntppl1++ );
mov eax, DWORD PTR cntppl1
inc eax
mov DWORD PTR cntppl1, eax
; 116 :
; 117 : i = 0;
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/preproc.asm:8 | ; 119 : i = 2;
mov DWORD PTR i$[rsp], 2
$LN12@Preprocess:
; 120 :
; 121 : /* handle "preprocessor" directives:
; 122 : * IF, ELSE, ENDIF, ...
; 123 : * FOR, REPEAT, WHILE, ...
; 124 : * PURGE
; 125 : * INCLUDE
; 126 : * since v2.05, error directives are no longer handled ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/preproc.asm:9 | mov rcx, QWORD PTR line$[rsp]
call WriteCodeLabel
cmp eax, -1
jne SHORT $LN16@Preprocess
; 134 : return( 0 );
xor eax, eax
jmp $LN1@Preprocess
$LN16@Preprocess:
$LN15@Preprocess:
; 135 : }
; 136 : directive_tab[tokenarray[i].dirtype]( i, tokenarray );
movsxd rax, DWORD PTR i... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/preproc.asm:10 | mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
cmp eax, 8
jne $LN17@Preprocess
mov eax, 32 ; 00000020H
imul rax, rax, 1
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
cmp eax, 3
jne $LN17@Preprocess
; 143 : struct asym *sym;
; 144 : switch ( tokenarr... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/preproc.asm:11 | ; 157 : if ( sym = CreateConstant( tokenarray ) ) {
mov rcx, QWORD PTR tokenarray$[rsp]
call CreateConstant
mov QWORD PTR sym$1[rsp], rax
cmp QWORD PTR sym$1[rsp], 0
je $LN19@Preprocess
; 158 : if ( sym->state != SYM_TMACRO ) {
mov rax, QWORD PTR sym$1[rsp]
cmp DWORD PTR [rax+32]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/preproc.asm:12 | $LN24@Preprocess:
$LN20@Preprocess:
; 164 : }
; 165 : /* v2.03: LstWrite() must be called AFTER StoreLine()! */
; 166 : if ( ModuleInfo.list == TRUE ) {
mov eax, DWORD PTR ModuleInfo+408
shr eax, 11
and eax, 1
cmp eax, 1
jne SHORT $LN25@Preprocess
; 167 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/preproc.asm:13 | ; 173 : case DRT_SUBSTR:
; 174 : directive_tab[tokenarray[1].dirtype]( 1, tokenarray );
mov eax, 32 ; 00000020H
imul rax, rax, 1
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax+1]
lea rcx, OFFSET FLAT:directive_tab
mov QWORD PTR tv228[rsp], rcx
mov rdx, QWORD PTR token... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/preproc.asm:14 | PreprocessLine ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\preproc.c
_TEXT SEGMENT
oldcnt$ = 32
oldtoken$ = 36
oldchar$ = 40
line$ = 64
tokenarray$ = 72
WriteCodeLabel PROC
; 40 : {
$LN6:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/preproc.asm:16 | mov eax, 32 ; 00000020H
imul rax, rax, 2
mov rcx, QWORD PTR tokenarray$[rsp]
mov rax, QWORD PTR [rcx+rax+24]
movzx eax, BYTE PTR [rax]
mov BYTE PTR oldchar$[rsp], al
; 54 : Token_Count = 2;
mov DWORD PTR ModuleInfo+496, 2
; 55 : tokenarray[2].token = T_FINAL;
mov eax, 32 ; 00000020H
imul... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/preproc.asm:17 | call WritePreprocessedLine
$LN4@WriteCodeL:
; 60 : Token_Count = oldcnt;
mov eax, DWORD PTR oldcnt$[rsp]
mov DWORD PTR ModuleInfo+496, eax
; 61 : tokenarray[2].token = oldtoken;
mov eax, 32 ; 00000020H
imul rax, rax, 2
mov rcx, QWORD PTR tokenarray$[rsp]
movzx edx, BYTE PTR oldtoken$[rsp]
mov... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/preproc.asm | 641 | 678 |
Terraspace/UASM:x64/Debug/preproc.asm:14 | PreprocessLine ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\preproc.c
_TEXT SEGMENT
oldcnt$ = 32
oldtoken$ = 36
oldchar$ = 40
line$ = 64
tokenarray$ = 72
WriteCodeLabel PROC
; 40 : {
$LN6:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/preproc.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/preproc.asm:15 | mov eax, 32 ; 00000020H
imul rax, rax, 0
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 210 ; 000000d2H
call EmitErr
jmp $LN1@WriteCodeL
$LN2@WriteCodeL:
; 47 : }
; 48 : /* ensure the listing is written with the FULL source line */
; 49 : if ( CurrFile[LST] )... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/preproc.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/preproc.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 cntppl0:DWORD
COMM cntppl1:DWORD
COMM cntppl2:DWORD
_DATA ENDS
_BSS SEGMENT
$SG10888 DB 01H DUP (?)
_BSS ENDS
_DATA SEG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/preproc.asm:2 | EXTRN Parse_Pass:DWORD
EXTRN CurrIfState:DWORD
EXTRN StoreState:BYTE
EXTRN directive_tab:BYTE
pdata SEGMENT
$pdata$WriteCodeLabel DD imagerel $LN6
DD imagerel $LN6+336
DD imagerel $unwind$WriteCodeLabel
$pdata$PreprocessLine DD imagerel $LN34
DD imagerel $LN34+937
DD imagerel $unwind$PreprocessLine
pdata ENDS
; COM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/preproc.asm:3 | ; 73 : {
$LN34:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 96 ; 00000060H
mov rdi, rsp
mov ecx, 24
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+112]
; 74 : int i;
; 75 :
; 76 : /* v2.11: GetTextLine() removed - this is now done in Proc... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/preproc.asm:4 | ; 86 : cntppl0++;
mov eax, DWORD PTR cntppl0
inc eax
mov DWORD PTR cntppl0, eax
; 87 : if ( ModuleInfo.GeneratedCode )
cmp DWORD PTR ModuleInfo+456, 0
je SHORT $LN4@Preprocess
; 88 : DebugMsg1(("PreprocessLine: >%s<\n", line ));
mov rdx, QWORD PTR line$[rsp]
lea rcx, OFFSET FLAT:$SG108... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/preproc.asm:5 | ; 92 :
; 93 : #if REMOVECOMENT == 0
; 94 : if ( Token_Count == 0 && ( CurrIfState == BLOCK_ACTIVE || ModuleInfo.listif ) )
cmp DWORD PTR ModuleInfo+496, 0
jne SHORT $LN6@Preprocess
cmp DWORD PTR CurrIfState, 0
je SHORT $LN7@Preprocess
mov eax, DWORD PTR ModuleInfo+408
shr eax, 13
and eax, 1
test eax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/preproc.asm:6 | je SHORT $LN9@Preprocess
; 104 : return( Token_Count );
mov eax, DWORD PTR ModuleInfo+496
jmp $LN1@Preprocess
$LN9@Preprocess:
; 105 : #endif
; 106 :
; 107 : /* CurrIfState != BLOCK_ACTIVE && Token_Count == 1 | 3 may happen
; 108 : * if a conditional assembly directive has been detected by To... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/preproc.asm:7 | jge SHORT $LN11@Preprocess
; 112 : return( 0 );
xor eax, eax
jmp $LN1@Preprocess
$LN11@Preprocess:
$LN10@Preprocess:
; 113 : }
; 114 :
; 115 : DebugCmd( cntppl1++ );
mov eax, DWORD PTR cntppl1
inc eax
mov DWORD PTR cntppl1, eax
; 116 :
; 117 : i = 0;
mov DWORD PTR i$[rsp], 0
;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/preproc.asm:8 | ; 119 : i = 2;
mov DWORD PTR i$[rsp], 2
$LN12@Preprocess:
; 120 :
; 121 : /* handle "preprocessor" directives:
; 122 : * IF, ELSE, ENDIF, ...
; 123 : * FOR, REPEAT, WHILE, ...
; 124 : * PURGE
; 125 : * INCLUDE
; 126 : * since v2.05, error directives are no longer handled ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/preproc.asm:9 | call WriteCodeLabel
cmp eax, -1
jne SHORT $LN16@Preprocess
; 134 : return( 0 );
xor eax, eax
jmp $LN1@Preprocess
$LN16@Preprocess:
$LN15@Preprocess:
; 135 : }
; 136 : directive_tab[tokenarray[i].dirtype]( i, tokenarray );
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 321 | 380 |
Terraspace/UASM:x64/Debug/preproc.asm:10 | movzx eax, BYTE PTR [rcx+rax]
cmp eax, 8
jne $LN17@Preprocess
mov eax, 32 ; 00000020H
imul rax, rax, 1
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
cmp eax, 3
jne $LN17@Preprocess
; 143 : struct asym *sym;
; 144 : switch ( tokenarray[1].dirtype ) {
mov eax, 32 ;... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 361 | 420 |
Terraspace/UASM:x64/Debug/preproc.asm:11 | mov rcx, QWORD PTR tokenarray$[rsp]
call CreateConstant
mov QWORD PTR sym$1[rsp], rax
cmp QWORD PTR sym$1[rsp], 0
je $LN19@Preprocess
; 158 : if ( sym->state != SYM_TMACRO ) {
mov rax, QWORD PTR sym$1[rsp]
cmp DWORD PTR [rax+32], 10
je SHORT $LN20@Preprocess
; 159 : #if FASTPASS
; 160 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 401 | 460 |
Terraspace/UASM:x64/Debug/preproc.asm:12 | $LN20@Preprocess:
; 164 : }
; 165 : /* v2.03: LstWrite() must be called AFTER StoreLine()! */
; 166 : if ( ModuleInfo.list == TRUE ) {
mov eax, DWORD PTR ModuleInfo+408
shr eax, 11
and eax, 1
cmp eax, 1
jne SHORT $LN25@Preprocess
; 167 : Ls... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 441 | 500 |
Terraspace/UASM:x64/Debug/preproc.asm:13 | ; 174 : directive_tab[tokenarray[1].dirtype]( 1, tokenarray );
mov eax, 32 ; 00000020H
imul rax, rax, 1
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax+1]
lea rcx, OFFSET FLAT:directive_tab
mov QWORD PTR tv228[rsp], rcx
mov rdx, QWORD PTR tokenarray$[rsp]
mov ecx, 1
mov r8, Q... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 481 | 540 |
Terraspace/UASM:x64/Debug/preproc.asm:14 | _TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\preproc.c
_TEXT SEGMENT
oldcnt$ = 32
oldtoken$ = 36
oldchar$ = 40
line$ = 64
tokenarray$ = 72
WriteCodeLabel PROC
; 40 : {
$LN6:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 48 ; 000000... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 521 | 580 |
Terraspace/UASM:x64/Debug/preproc.asm:15 | imul rax, rax, 0
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 209 ; 000000d1H
call EmitErr
jmp $LN1@WriteCodeL
$LN2@WriteCodeL:
; 47 : }
; 48 : /* ensure the listing is written with the FULL source line */
; 49 : if ( CurrFile[LST] ) LstWrite( LSTTYPE_LABEL, 0, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 561 | 620 |
Terraspace/UASM:x64/Debug/preproc.asm:16 | imul rax, rax, 2
mov rcx, QWORD PTR tokenarray$[rsp]
mov rax, QWORD PTR [rcx+rax+24]
movzx eax, BYTE PTR [rax]
mov BYTE PTR oldchar$[rsp], al
; 54 : Token_Count = 2;
mov DWORD PTR ModuleInfo+496, 2
; 55 : tokenarray[2].token = T_FINAL;
mov eax, 32 ; 00000020H
imul rax, rax, 2
mov rcx, QWORD ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 601 | 660 |
Terraspace/UASM:x64/Debug/preproc.asm:17 | $LN4@WriteCodeL:
; 60 : Token_Count = oldcnt;
mov eax, DWORD PTR oldcnt$[rsp]
mov DWORD PTR ModuleInfo+496, eax
; 61 : tokenarray[2].token = oldtoken;
mov eax, 32 ; 00000020H
imul rax, rax, 2
mov rcx, QWORD PTR tokenarray$[rsp]
movzx edx, BYTE PTR oldtoken$[rsp]
mov BYTE PTR [rcx+rax], dl
; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/preproc.asm | 641 | 677 |
Terraspace/UASM:x64/Debug/preproc.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 cntppl0:DWORD
COMM cntppl1:DWORD
COMM cntppl2:DWORD
_DATA ENDS
_BSS SEGMENT
$SG10883 DB 01H DUP (?)
_BSS ENDS
_DATA SEG... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/preproc.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/preproc.asm:3 | ; 73 : {
$LN34:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 96 ; 00000060H
mov rdi, rsp
mov ecx, 24
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+112]
; 74 : int i;
; 75 :
; 76 : /* v2.11: GetTextLine() removed - this is now done in Proc... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/preproc.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/preproc.asm:4 | ; 86 : cntppl0++;
mov eax, DWORD PTR cntppl0
inc eax
mov DWORD PTR cntppl0, eax
; 87 : if ( ModuleInfo.GeneratedCode )
cmp DWORD PTR ModuleInfo+456, 0
je SHORT $LN4@Preprocess
; 88 : DebugMsg1(("PreprocessLine: >%s<\n", line ));
mov rdx, QWORD PTR line$[rsp]
lea rcx, OFFSET FLAT:$SG108... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/preproc.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/preproc.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/queue.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
$SG1506 DB 'queue.c', 00H
_DATA ENDS
PUBLIC QEnqueue
PUBLIC QAddItem
EXTRN LclAlloc:PROC
EXTRN InternalError:PROC
pdata SEGMENT
$pdata$QEnqueue DD imagerel $LN7
DD ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/queue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/queue.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/queue.asm:2 | mov QWORD PTR [rsp+8], rcx
sub rsp, 56 ; 00000038H
; 64 : struct qnode *node;
; 65 :
; 66 : node = LclAlloc( sizeof( struct qnode ) );
mov ecx, 16
call LclAlloc
mov QWORD PTR node$[rsp], rax
; 67 : node->elmt = data;
mov rax, QWORD PTR node$[rsp]
mov rcx, QWORD PTR data$[rsp]
mov Q... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/queue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/queue.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/queue.asm:3 | mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
sub rsp, 56 ; 00000038H
; 49 : if( q->head == NULL ) {
mov rax, QWORD PTR q$[rsp]
cmp QWORD PTR [rax], 0
jne SHORT $LN2@QEnqueue
; 50 : q->head = q->tail = item;
mov rax, QWORD PTR q$[rsp]
mov rcx, QWORD PTR item$[rsp]
mov QWORD PTR ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/queue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/queue.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/queue.asm:4 | mov rax, QWORD PTR q$[rsp]
mov rax, QWORD PTR [rax+8]
mov rcx, QWORD PTR item$[rsp]
mov QWORD PTR [rax], rcx
; 54 : q->tail = item;
mov rax, QWORD PTR q$[rsp]
mov rcx, QWORD PTR item$[rsp]
mov QWORD PTR [rax+8], rcx
$LN3@QEnqueue:
; 55 : }
; 56 : *(void**)item = NULL;
mov rax, QWORD PTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/queue.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/queue.asm | 121 | 145 |
Terraspace/UASM:x64/Debug/queue.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
$SG1506 DB 'queue.c', 00H
_DATA ENDS
PUBLIC QEnqueue
PUBLIC QAddItem
EXTRN LclAlloc:PROC
EXTRN InternalError:PROC
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
p... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/queue.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/queue.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/queue.asm:2 | _TEXT SEGMENT
node$ = 32
q$ = 64
data$ = 72
QAddItem PROC
; 63 : {
$LN3:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 48 ; 00000030H
mov rdi, rsp
mov ecx, 12
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+64]
; 64 : struct qnode *node;
; 65 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/queue.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/queue.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/queue.asm:3 | add rsp, 48 ; 00000030H
pop rdi
ret 0
QAddItem ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\queue.c
_TEXT SEGMENT
tv73 = 32
q$ = 64
item$ = 72
QEnqueue PROC
; 48 : {
$LN7:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rdi
sub rsp, 48 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/queue.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/queue.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/queue.asm:4 | mov QWORD PTR [rax], rcx
; 51 : } else {
jmp SHORT $LN3@QEnqueue
$LN2@QEnqueue:
; 52 : /**/ myassert( q->tail != NULL );
mov rax, QWORD PTR q$[rsp]
cmp QWORD PTR [rax+8], 0
je SHORT $LN5@QEnqueue
mov DWORD PTR tv73[rsp], 0
jmp SHORT $LN6@QEnqueue
$LN5@QEnqueue:
mov edx, 52 ; 00000034H
lea rcx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/queue.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/queue.asm | 121 | 169 |
Terraspace/UASM:x64/Debug/safeseh.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
$SG10655 DB 'coff', 00H
ORG $+3
$SG10658 DB 'safeseh', 00H
_DA... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/safeseh.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/safeseh.asm:2 | node$ = 40
i$ = 64
tokenarray$ = 72
SafeSEHDirective PROC
; 28 : {
$LN22:
mov QWORD PTR [rsp+16], rdx
mov DWORD PTR [rsp+8], ecx
sub rsp, 56 ; 00000038H
; 29 : struct asym *sym;
; 30 : struct qnode *node;
; 31 :
; 32 : if ( Options.output_format != OFORMAT_COFF ) {
cmp DWORD PTR O... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/safeseh.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/safeseh.asm:3 | ; 37 : if ( Options.safeseh == FALSE ) {
movzx eax, BYTE PTR Options+155
test eax, eax
jne SHORT $LN7@SafeSEHDir
; 38 : if ( Parse_Pass == PASS_1)
cmp DWORD PTR Parse_Pass, 0
jne SHORT $LN8@SafeSEHDir
; 39 : EmitWarn( 2, DIRECTIVE_IGNORED_WITHOUT_X, "safeseh" );
lea r8, OFFSET F... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/safeseh.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/safeseh.asm:4 | ; 44 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr ) );
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 209 ; 000000d1H
call EmitErr
jmp $LN1@SafeSEHDir
$LN9@SafeSEHDir:
; 45 : }
; 46 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/safeseh.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/safeseh.asm:5 | movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 102 ; 00000066H
call EmitErr
jmp $LN1@SafeSEHDir
$LN13@SafeSEHDir:
; 52 : }
jmp SHORT $LN11@SafeSEHDir
$LN10@SafeSEHDir:
; 53 : } else if ( sym->isproc ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/safeseh.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/safeseh.asm:6 | cmp DWORD PTR Parse_Pass, 0
jne $LN15@SafeSEHDir
; 58 : if ( sym ) {
cmp QWORD PTR sym$[rsp], 0
je SHORT $LN16@SafeSEHDir
; 59 : for ( node = ModuleInfo.g.SafeSEHQueue.head; node; node = node->next )
mov rax, QWORD PTR ModuleInfo+48
mov QWORD PTR node$[rsp], rax
jmp SHORT $LN4@SafeSEHD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/safeseh.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/safeseh.asm:7 | ; 63 : sym = SymCreate( tokenarray[i].string_ptr );
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rcx, QWORD PTR [rcx+rax+8]
call SymCreate
mov QWORD PTR sym$[rsp], rax
; 64 : node = NULL;
mov QWORD PTR node$[rsp], 0
$LN17@Sa... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/safeseh.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/safeseh.asm:8 | mov rdx, QWORD PTR sym$[rsp]
lea rcx, OFFSET FLAT:ModuleInfo+48
call QAddItem
$LN19@SafeSEHDir:
$LN15@SafeSEHDir:
; 80 : #endif
; 81 : }
; 82 : }
; 83 : i++;
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
; 84 : if ( tokenarray[i].token != T_FINAL ) {
movsxd rax, D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/safeseh.asm | 281 | 330 |
Terraspace/UASM:x64/Debug/safeseh.asm:9 | xor eax, eax
$LN1@SafeSEHDir:
; 89 : }
add rsp, 56 ; 00000038H
ret 0
SafeSEHDirective ENDP
_TEXT ENDS
END | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/safeseh.asm | 321 | 330 |
Terraspace/UASM:x64/Debug/safeseh.asm:4 | ; 44 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr ) );
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 209 ; 000000d1H
call EmitErr
jmp $LN1@SafeSEHDir
$LN9@SafeSEHDir:
; 45 : }
; 46 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/safeseh.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/safeseh.asm:5 | movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 102 ; 00000066H
call EmitErr
jmp $LN1@SafeSEHDir
$LN13@SafeSEHDir:
; 52 : }
jmp SHORT $LN11@SafeSEHDir
$LN10@SafeSEHDir:
; 53 : } else if ( sym->isproc ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/safeseh.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/safeseh.asm:7 | ; 63 : sym = SymCreate( tokenarray[i].string_ptr );
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rcx, QWORD PTR [rcx+rax+8]
call SymCreate
mov QWORD PTR sym$[rsp], rax
; 64 : node = NULL;
mov QWORD PTR node$[rsp], 0
$LN17@Sa... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08 | github | assembler | https://github.com/Terraspace/UASM/blob/ed162d24d173bddd6e80d42bfc3b4f6a3bcd9a08/x64/Debug/safeseh.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/safeseh.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
$SG10617 DB 'coff', 00H
ORG $+3
$SG10620 DB 'safeseh', 00H
_DA... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/safeseh.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/safeseh.asm:2 | _RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
xdata SEGMENT
$unwind$SafeSEHDirective DD 022101H
DD 0700a520eH
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\safeseh.c
_TEXT SEGMENT
sym$ = 32
node$ = 40
i$ = 64
tokenarray$ = 72
SafeSEHDirective PROC
; 28 : {... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/safeseh.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/safeseh.asm:3 | ; 34 : EmitWarn( 2, DIRECTIVE_IGNORED_WITHOUT_X, "coff" );
lea r8, OFFSET FLAT:$SG10617
mov edx, 261 ; 00000105H
mov ecx, 2
call EmitWarn
$LN6@SafeSEHDir:
; 35 : return( NOT_ERROR );
xor eax, eax
jmp $LN1@SafeSEHDir
$LN5@SafeSEHDir:
; 36 : }
; 37 : if ( Options.safeseh =... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/safeseh.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/safeseh.asm:4 | ; 41 : }
; 42 : i++;
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
; 43 : if ( tokenarray[i].token != T_ID ) {
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
cmp eax, 8
je SHORT $LN9@SafeSEHDi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/safeseh.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/safeseh.asm:5 | ; 49 : if ( sym == NULL || sym->state == SYM_UNDEFINED ) {
cmp QWORD PTR sym$[rsp], 0
je SHORT $LN12@SafeSEHDir
mov rax, QWORD PTR sym$[rsp]
cmp DWORD PTR [rax+32], 0
jne SHORT $LN10@SafeSEHDir
$LN12@SafeSEHDir:
; 50 : if ( Parse_Pass != PASS_1 ) {
cmp DWORD PTR Parse_Pass, 0
je SHORT $LN13@Sa... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/safeseh.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/safeseh.asm:6 | ; 54 : return( EmitErr( SAFESEH_ARGUMENT_MUST_BE_A_PROC, tokenarray[i].string_ptr ) );
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 260 ; 00000104H
call EmitErr
jmp $LN1@SafeSEHDir
$LN14@SafeSEHDir:
$LN11@... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/safeseh.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/safeseh.asm:7 | mov rcx, QWORD PTR sym$[rsp]
cmp QWORD PTR [rax+8], rcx
jne SHORT $LN18@SafeSEHDir
; 61 : break;
jmp SHORT $LN3@SafeSEHDir
$LN18@SafeSEHDir:
jmp SHORT $LN2@SafeSEHDir
$LN3@SafeSEHDir:
; 62 : } else {
jmp SHORT $LN17@SafeSEHDir
$LN16@SafeSEHDir:
; 63 : sym = SymCre... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/safeseh.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/safeseh.asm:8 | or al, 1
mov rcx, QWORD PTR sym$[rsp]
mov BYTE PTR [rcx+40], al
; 68 : #if 0 /* v2.11: use QAddItem() */
; 69 : node = LclAlloc( sizeof( struct qnode ) );
; 70 : node->elmt = sym;
; 71 : node->next = NULL;
; 72 : if ( ModuleInfo.g.SafeSEHQueue.head == 0 )
; 7... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/safeseh.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/safeseh.asm:9 | ; 85 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr ) );
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 209 ; 000000d1H
call EmitErr
jmp SHORT $LN1@SafeSEHDir
$LN20@SafeSEHDir:
; 86 : }
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Debug/safeseh.asm | 321 | 347 |
Terraspace/UASM:x64/Debug/safeseh.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
$SG10616 DB 'coff', 00H
ORG $+3
$SG10619 DB 'safeseh', 00H
_DATA ENDS
PUBLIC SafeSE... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/safeseh.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/safeseh.asm:2 | rtc$IMZ ENDS
xdata SEGMENT
$unwind$SafeSEHDirective DD 022101H
DD 0700a520eH
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\safeseh.c
_TEXT SEGMENT
sym$ = 32
node$ = 40
i$ = 64
tokenarray$ = 72
SafeSEHDirective PROC
; 28 : {
$LN22:
mov QWORD PTR [rsp+16], rdx
mov D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/safeseh.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/safeseh.asm:3 | ; 34 : EmitWarn( 2, DIRECTIVE_IGNORED_WITHOUT_X, "coff" );
lea r8, OFFSET FLAT:$SG10616
mov edx, 261 ; 00000105H
mov ecx, 2
call EmitWarn
$LN6@SafeSEHDir:
; 35 : return( NOT_ERROR );
xor eax, eax
jmp $LN1@SafeSEHDir
$LN5@SafeSEHDir:
; 36 : }
; 37 : if ( Options.safeseh =... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/safeseh.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/safeseh.asm:4 | ; 41 : }
; 42 : i++;
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
; 43 : if ( tokenarray[i].token != T_ID ) {
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
cmp eax, 8
je SHORT $LN9@SafeSEHDi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/safeseh.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/safeseh.asm:5 | cmp QWORD PTR sym$[rsp], 0
je SHORT $LN12@SafeSEHDir
mov rax, QWORD PTR sym$[rsp]
cmp DWORD PTR [rax+32], 0
jne SHORT $LN10@SafeSEHDir
$LN12@SafeSEHDir:
; 50 : if ( Parse_Pass != PASS_1 ) {
cmp DWORD PTR Parse_Pass, 0
je SHORT $LN13@SafeSEHDir
; 51 : return( EmitErr( SYMBOL_NOT_DEFINED,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/safeseh.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/safeseh.asm:6 | movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 260 ; 00000104H
call EmitErr
jmp $LN1@SafeSEHDir
$LN14@SafeSEHDir:
$LN11@SafeSEHDir:
; 55 : }
; 56 :
; 57 : if ( Parse_Pass == PASS_1 ) {
cmp DWORD PTR Par... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/safeseh.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/safeseh.asm:7 | cmp QWORD PTR [rax+8], rcx
jne SHORT $LN18@SafeSEHDir
; 61 : break;
jmp SHORT $LN3@SafeSEHDir
$LN18@SafeSEHDir:
jmp SHORT $LN2@SafeSEHDir
$LN3@SafeSEHDir:
; 62 : } else {
jmp SHORT $LN17@SafeSEHDir
$LN16@SafeSEHDir:
; 63 : sym = SymCreate( tokenarray[i].string_ptr ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/safeseh.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/safeseh.asm:8 | mov rcx, QWORD PTR sym$[rsp]
mov BYTE PTR [rcx+40], al
; 68 : #if 0 /* v2.11: use QAddItem() */
; 69 : node = LclAlloc( sizeof( struct qnode ) );
; 70 : node->elmt = sym;
; 71 : node->next = NULL;
; 72 : if ( ModuleInfo.g.SafeSEHQueue.head == 0 )
; 73 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 44b156da77c15b4906319aecb4db33b45ed939cb | github | assembler | https://github.com/Terraspace/UASM/blob/44b156da77c15b4906319aecb4db33b45ed939cb/x64/Debug/safeseh.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/safeseh.asm:2 | rtc$IMZ ENDS
xdata SEGMENT
$unwind$SafeSEHDirective DD 022101H
DD 0700a520eH
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\safeseh.c
_TEXT SEGMENT
sym$ = 32
node$ = 40
i$ = 64
tokenarray$ = 72
SafeSEHDirective PROC
; 28 : {
$LN22:
mov QWORD PTR [rsp+16], rdx
mov D... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/safeseh.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/safeseh.asm:3 | ; 34 : EmitWarn( 2, DIRECTIVE_IGNORED_WITHOUT_X, "coff" );
lea r8, OFFSET FLAT:$SG10616
mov edx, 262 ; 00000106H
mov ecx, 2
call EmitWarn
$LN6@SafeSEHDir:
; 35 : return( NOT_ERROR );
xor eax, eax
jmp $LN1@SafeSEHDir
$LN5@SafeSEHDir:
; 36 : }
; 37 : if ( Options.safeseh =... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/safeseh.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/safeseh.asm:4 | ; 41 : }
; 42 : i++;
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
; 43 : if ( tokenarray[i].token != T_ID ) {
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
cmp eax, 8
je SHORT $LN9@SafeSEHDi... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/safeseh.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/safeseh.asm:5 | cmp QWORD PTR sym$[rsp], 0
je SHORT $LN12@SafeSEHDir
mov rax, QWORD PTR sym$[rsp]
cmp DWORD PTR [rax+32], 0
jne SHORT $LN10@SafeSEHDir
$LN12@SafeSEHDir:
; 50 : if ( Parse_Pass != PASS_1 ) {
cmp DWORD PTR Parse_Pass, 0
je SHORT $LN13@SafeSEHDir
; 51 : return( EmitErr( SYMBOL_NOT_DEFINED,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/safeseh.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/safeseh.asm:6 | movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 261 ; 00000105H
call EmitErr
jmp $LN1@SafeSEHDir
$LN14@SafeSEHDir:
$LN11@SafeSEHDir:
; 55 : }
; 56 :
; 57 : if ( Parse_Pass == PASS_1 ) {
cmp DWORD PTR Par... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/safeseh.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/safeseh.asm:8 | mov rcx, QWORD PTR sym$[rsp]
mov BYTE PTR [rcx+40], al
; 68 : #if 0 /* v2.11: use QAddItem() */
; 69 : node = LclAlloc( sizeof( struct qnode ) );
; 70 : node->elmt = sym;
; 71 : node->next = NULL;
; 72 : if ( ModuleInfo.g.SafeSEHQueue.head == 0 )
; 73 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/safeseh.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/safeseh.asm:9 | ; 85 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr ) );
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 210 ; 000000d2H
call EmitErr
jmp SHORT $LN1@SafeSEHDir
$LN20@SafeSEHDir:
; 86 : }
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Debug/safeseh.asm | 321 | 346 |
Terraspace/UASM:x64/Debug/safeseh.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
$SG10614 DB 'coff', 00H
ORG $+3
$SG10617 DB 'safeseh', 00H
_DATA ENDS
PUBLIC SafeSEHDirective
EXTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/safeseh.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/safeseh.asm:2 | xdata SEGMENT
$unwind$SafeSEHDirective DD 022101H
DD 0700a520eH
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\safeseh.c
_TEXT SEGMENT
sym$ = 32
node$ = 40
i$ = 64
tokenarray$ = 72
SafeSEHDirective PROC
; 28 : {
$LN22:
mov QWORD PTR [rsp+16], rdx
mov DWORD PTR [rsp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/safeseh.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/safeseh.asm:3 | lea r8, OFFSET FLAT:$SG10614
mov edx, 261 ; 00000105H
mov ecx, 2
call EmitWarn
$LN6@SafeSEHDir:
; 35 : return( NOT_ERROR );
xor eax, eax
jmp $LN1@SafeSEHDir
$LN5@SafeSEHDir:
; 36 : }
; 37 : if ( Options.safeseh == FALSE ) {
movzx eax, BYTE PTR Options+155
test eax, eax
jne SHORT $LN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/safeseh.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/safeseh.asm:4 | ; 42 : i++;
mov eax, DWORD PTR i$[rsp]
inc eax
mov DWORD PTR i$[rsp], eax
; 43 : if ( tokenarray[i].token != T_ID ) {
movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
movzx eax, BYTE PTR [rcx+rax]
cmp eax, 8
je SHORT $LN9@SafeSEHDir
; 44 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/safeseh.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/safeseh.asm:5 | cmp QWORD PTR sym$[rsp], 0
je SHORT $LN12@SafeSEHDir
mov rax, QWORD PTR sym$[rsp]
cmp DWORD PTR [rax+32], 0
jne SHORT $LN10@SafeSEHDir
$LN12@SafeSEHDir:
; 50 : if ( Parse_Pass != PASS_1 ) {
cmp DWORD PTR Parse_Pass, 0
je SHORT $LN13@SafeSEHDir
; 51 : return( EmitErr( SYMBOL_NOT_DEFINED,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/safeseh.asm | 161 | 220 |
Terraspace/UASM:x64/Debug/safeseh.asm:6 | movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 260 ; 00000104H
call EmitErr
jmp $LN1@SafeSEHDir
$LN14@SafeSEHDir:
$LN11@SafeSEHDir:
; 55 : }
; 56 :
; 57 : if ( Parse_Pass == PASS_1 ) {
cmp DWORD PTR Par... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/safeseh.asm | 201 | 260 |
Terraspace/UASM:x64/Debug/safeseh.asm:7 | jne SHORT $LN18@SafeSEHDir
; 61 : break;
jmp SHORT $LN3@SafeSEHDir
$LN18@SafeSEHDir:
jmp SHORT $LN2@SafeSEHDir
$LN3@SafeSEHDir:
; 62 : } else {
jmp SHORT $LN17@SafeSEHDir
$LN16@SafeSEHDir:
; 63 : sym = SymCreate( tokenarray[i].string_ptr );
movsxd rax, DWORD PTR i... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/safeseh.asm | 241 | 300 |
Terraspace/UASM:x64/Debug/safeseh.asm:8 | mov BYTE PTR [rcx+40], al
; 68 : #if 0 /* v2.11: use QAddItem() */
; 69 : node = LclAlloc( sizeof( struct qnode ) );
; 70 : node->elmt = sym;
; 71 : node->next = NULL;
; 72 : if ( ModuleInfo.g.SafeSEHQueue.head == 0 )
; 73 : ModuleInfo.g.SafeS... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/safeseh.asm | 281 | 340 |
Terraspace/UASM:x64/Debug/safeseh.asm:9 | movsxd rax, DWORD PTR i$[rsp]
imul rax, rax, 32 ; 00000020H
mov rcx, QWORD PTR tokenarray$[rsp]
mov rdx, QWORD PTR [rcx+rax+8]
mov ecx, 209 ; 000000d1H
call EmitErr
jmp SHORT $LN1@SafeSEHDir
$LN20@SafeSEHDir:
; 86 : }
; 87 :
; 88 : return( NOT_ERROR );
xor eax, eax
$LN1@SafeSEHDir:
; 89 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 475976341f6684b892aa560a460b653239cfaf89 | github | assembler | https://github.com/Terraspace/UASM/blob/475976341f6684b892aa560a460b653239cfaf89/x64/Debug/safeseh.asm | 321 | 345 |
Terraspace/UASM:x64/Debug/safeseh.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
$SG10609 DB 'coff', 00H
ORG $+3
$SG10612 DB 'safeseh', 00H
_DATA ENDS
PUBLIC SafeSEHDirective
EXTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/safeseh.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/safeseh.asm:2 | xdata SEGMENT
$unwind$SafeSEHDirective DD 022101H
DD 0700a520eH
xdata ENDS
; Function compile flags: /Odtp /RTCsu
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\safeseh.c
_TEXT SEGMENT
sym$ = 32
node$ = 40
i$ = 64
tokenarray$ = 72
SafeSEHDirective PROC
; 28 : {
$LN22:
mov QWORD PTR [rsp+16], rdx
mov DWORD PTR [rsp... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/safeseh.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/safeseh.asm:3 | lea r8, OFFSET FLAT:$SG10609
mov edx, 261 ; 00000105H
mov ecx, 2
call EmitWarn
$LN6@SafeSEHDir:
; 35 : return( NOT_ERROR );
xor eax, eax
jmp $LN1@SafeSEHDir
$LN5@SafeSEHDir:
; 36 : }
; 37 : if ( Options.safeseh == FALSE ) {
movzx eax, BYTE PTR Options+155
test eax, eax
jne SHORT $LN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/safeseh.asm | Apache-2.0 | 6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc | github | assembler | https://github.com/Terraspace/UASM/blob/6d38b2c85f1c0a8c0371a51bcf797c2b40a7ddfc/x64/Debug/safeseh.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/simsegm.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
_BSS SEGMENT
$SG10972 DB 01H DUP (?)
_BSS ENDS
_DATA SEGMENT
$SG10911 DB '_TE... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/simsegm.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/simsegm.asm | 1 | 60 |
Terraspace/UASM:x64/Debug/simsegm.asm:2 | ORG $+2
$SG10927 DB 'PUBLIC', 00H
ORG $+5
$SG10924 DB 'FAR_BSS', 00H
$SG10928 DB 'STACK', 00H
ORG $+2
$SG10929 DB 'PUBLIC', 00H
ORG $+1
$SG10930 DB 'PUBLIC', 00H
ORG $+1
$SG10931 DB 'PRIVATE', 00H
$SG10932 DB 'PRIVATE', 00H
$SG10933 DB 'PUBLIC', 00H
ORG $+1
$SG10950 DB '%s %r %s', 00H
ORG $+7
$SG10955 DB 'close_c... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/simsegm.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/simsegm.asm | 41 | 100 |
Terraspace/UASM:x64/Debug/simsegm.asm:3 | ORG $+6
$SG11022 DB 'SimplifiedSegDir(%s) enter', 0aH, 00H
$SG11042 DB 'FLAT', 00H
ORG $+7
$SG11044 DB '%r %r:%s', 00H
ORG $+7
$SG11046 DB 'ORG 0%xh', 00H
ORG $+7
$SG11050 DB '%r %r:ERROR', 00H
ORG $+4
$SG11054 DB '%r %r:ERROR', 00H
ORG $+4
$SG11056 DB 'simsegm.c', 00H
ORG $+6
$SG11057 DB 'SimplifiedSegDir exit',... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/simsegm.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/simsegm.asm | 81 | 140 |
Terraspace/UASM:x64/Debug/simsegm.asm:4 | DQ FLAT:$SG10928
DQ FLAT:$SG10929
DQ FLAT:$SG10930
DQ FLAT:$SG10931
DQ FLAT:$SG10932
DQ FLAT:$SG10933
CONST ENDS
PUBLIC SimGetSegName
PUBLIC GetCodeClass
PUBLIC ModelSimSegmInit
PUBLIC ModelSimSegmExit
PUBLIC SetModelDefaultSegNames
PUBLIC SimplifiedSegDir
EXTRN memcpy:PROC
EXTRN strcat:PROC
EXTRN strcpy:PROC
EXTR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/simsegm.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/simsegm.asm | 121 | 180 |
Terraspace/UASM:x64/Debug/simsegm.asm:5 | _BSS ENDS
pdata SEGMENT
$pdata$ModelSimSegmInit DD imagerel $LN7
DD imagerel $LN7+299
DD imagerel $unwind$ModelSimSegmInit
$pdata$ModelSimSegmExit DD imagerel $LN4
DD imagerel $LN4+29
DD imagerel $unwind$ModelSimSegmExit
$pdata$SetModelDefaultSegNames DD imagerel $LN7
DD imagerel $LN7+509
DD imagerel $unwind$SetM... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Debug/simsegm.asm | Apache-2.0 | d7506aacc85bc7c53cec33951ed5e681ad4e86a0 | github | assembler | https://github.com/Terraspace/UASM/blob/d7506aacc85bc7c53cec33951ed5e681ad4e86a0/x64/Debug/simsegm.asm | 161 | 220 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.