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:safeseh.asm:6
; 47 : ; 48 : /* make sure the argument is a true PROC */ ; 49 : if ( sym == NULL || sym->state == SYM_UNDEFINED ) { test rax, rax mov rdx, rax je SHORT $LN13@SafeSEHDir cmp DWORD PTR [rax+40], 0 je SHORT $LN13@SafeSEHDir ; 52 : } ; 53 : } else if ( sym->isproc == FALSE ) { test B...
arm64
masm-like
handwritten
Terraspace/UASM
safeseh.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/safeseh.asm
201
260
Terraspace/UASM:safeseh.asm:7
mov ecx, 102 ; 00000066H call EmitErr mov rbx, QWORD PTR [rsp+56] mov rdi, QWORD PTR [rsp+72] mov rsi, QWORD PTR [rsp+64] ; 89 : } add rsp, 40 ; 00000028H ret 0 $LN12@SafeSEHDir: ; 55 : } ; 56 : ; 57 : if ( Parse_Pass == PASS_1 ) { cmp DWORD PTR Parse_Pass, 0 jne SHORT $LN2@SafeSEHDir...
arm64
masm-like
handwritten
Terraspace/UASM
safeseh.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/safeseh.asm
241
300
Terraspace/UASM:safeseh.asm:8
; 61 : break; ; 62 : } else { jmp SHORT $LN25@SafeSEHDir $LN8@SafeSEHDir: ; 63 : sym = SymCreate( tokenarray[i].string_ptr ); mov rcx, QWORD PTR [rbx+rsi+8] call SymCreate mov rdx, rax $LN25@SafeSEHDir: ; 64 : node = NULL; ; 65 : } ; 66 : ...
arm64
masm-like
handwritten
Terraspace/UASM
safeseh.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/safeseh.asm
281
340
Terraspace/UASM:safeseh.asm:9
; 83 : i++; inc edi ; 84 : if ( tokenarray[i].token != T_FINAL ) { movsxd rdx, edi shl rdx, 5 cmp BYTE PTR [rdx+rsi], 0 je SHORT $LN1@SafeSEHDir ; 85 : return( EmitErr( SYNTAX_ERROR_EX, tokenarray[i].string_ptr ) ); mov rdx, QWORD PTR [rdx+rsi+8] mov ecx, 209 ; 000000d1H call EmitE...
arm64
masm-like
handwritten
Terraspace/UASM
safeseh.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/safeseh.asm
321
362
Terraspace/UASM:simsegm.asm:1
; Listing generated by Microsoft (R) Optimizing Compiler Version 14.00.40310.41 include listing.inc INCLUDELIB LIBCMT INCLUDELIB OLDNAMES _BSS SEGMENT $SG5618 DB 01H DUP (?) _BSS ENDS _DATA SEGMENT COMM decoflags:BYTE COMM MODULEARCH:BYTE COMM broadflags:BYTE COMM ZEROLOCALS:BYTE COMM evex:BYTE $SG5558 DB '_TEXT', 0...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1
60
Terraspace/UASM:simsegm.asm:2
$SG5566 DB 'CODE', 00H ORG $+3 $SG5567 DB 'STACK', 00H ORG $+2 $SG5568 DB 'DATA', 00H ORG $+3 $SG5569 DB 'BSS', 00H ORG $+4 $SG5570 DB 'FAR_DATA', 00H ORG $+7 $SG5571 DB 'FAR_BSS', 00H $SG5572 DB 'CONST', 00H _DATA ENDS CONST SEGMENT SegmClass DQ FLAT:$SG5566 DQ FLAT:$SG5567 DQ FLAT:$SG5568 DQ FLAT:$SG5569 DQ ...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
41
100
Terraspace/UASM:simsegm.asm:3
DQ FLAT:$SG5577 DQ FLAT:$SG5578 DQ FLAT:$SG5579 DQ FLAT:$SG5580 CONST ENDS _DATA SEGMENT ORG $+1 $SG5587 DB '_flat', 00H ORG $+2 $SG5601 DB '%s %r %s', 00H ORG $+3 $SG5606 DB '%s %r', 00H ORG $+2 $SG5614 DB 'WORD', 00H ORG $+3 $SG5616 DB 'PARA', 00H ORG $+3 $SG5624 DB 'FLAT', 00H ORG $+3 $SG5626 DB 'USE32', 0...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
81
140
Terraspace/UASM:simsegm.asm:4
ORG $+1 $SG5656 DB 'USE16', 00H ORG $+2 $SG5657 DB 'BYTE', 00H ORG $+3 $SG5658 DB '_flat', 00H ORG $+14 $SG5659 DB 'assume cs:_flat, ds:_flat, es:_flat, ss:_flat, fs:_flat,' DB ' gs:_flat', 00H ORG $+6 $SG5662 DB '@CodeSize', 00H ORG $+6 $SG5663 DB '@DataSize', 00H ORG $+6 $SG5664 DB '@ReservedStack', 00H ORG $...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
121
180
Terraspace/UASM:simsegm.asm:5
_BSS ENDS _TEXT SEGMENT segno$ = 8 SimGetSegName PROC NEAR ; 47 : char* segn; ; 48 : segn = SegmNames[segno]; movsxd rax, ecx lea rcx, OFFSET FLAT:SegmNames mov rcx, QWORD PTR [rcx+rax*8] ; 49 : if (segn == NULL && ModuleInfo.flat == TRUE) test rcx, rcx jne SHORT $LN4@SimGetSegN cmp BYTE PTR ModuleIn...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
161
220
Terraspace/UASM:simsegm.asm:6
; 57 : /* option -nc set? */ ; 58 : if ( Options.names[OPTN_CODE_CLASS] ) mov rax, QWORD PTR Options+88 test rax, rax ; 59 : return( Options.names[OPTN_CODE_CLASS] ); jne SHORT $LN2@GetCodeCla ; 60 : ; 61 : return( SegmClass[SIM_CODE] ); lea rax, OFFSET FLAT:$SG5566 $LN2@GetCodeCl...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
201
260
Terraspace/UASM:simsegm.asm:7
sub rsp, 40 ; 00000028H ; 69 : /* no DGROUP for FLAT or COFF/ELF */ ; 70 : if( ModuleInfo.model == MODEL_FLAT ; 71 : #if COFF_SUPPORT ; 72 : || Options.output_format == OFORMAT_COFF ; 73 : #endif ; 74 : #if ELF_SUPPORT ; 75 : || Options.output_format == OFORMAT_ELF ; 76 : #end...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
241
300
Terraspace/UASM:simsegm.asm:8
lea rdx, OFFSET FLAT:szDgroup mov r8d, 443 ; 000001bbH call AddLineQueueX $LN2@AddToDgrou: ; 84 : } add rsp, 40 ; 00000028H ret 0 AddToDgroup ENDP _TEXT ENDS xdata SEGMENT $unwind$close_currseg DD 010401H DD 04204H xdata ENDS pdata SEGMENT $pdata$close_currseg DD @imagerel(close_currseg#) DD @imagerel(...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
281
340
Terraspace/UASM:simsegm.asm:9
call AddLineQueueX $LN1@close_curr: ; 94 : } ; 95 : } add rsp, 40 ; 00000028H ret 0 close_currseg ENDP _TEXT ENDS EXTRN StoreLine:NEAR EXTRN sym_ReservedStack:QWORD EXTRN CreateVariable:NEAR EXTRN SymFind:NEAR EXTRN Parse_Pass:DWORD EXTRN __ImageBase:BYTE _BSS SEGMENT sym_DataSize DQ 01H DUP (?) sym_Cod...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
321
380
Terraspace/UASM:simsegm.asm:10
DD @imagerel(SetSimSeg#+195) DD @imagerel($unwind$SetSimSeg#) xdata ENDS pdata SEGMENT $pdata$7$SetSimSeg DD @imagerel(SetSimSeg#+195) DD @imagerel(SetSimSeg#+470) DD @imagerel($chain$7$SetSimSeg#) pdata ENDS xdata SEGMENT $chain$8$SetSimSeg DD 021H DD @imagerel(SetSimSeg#) DD @imagerel(SetSimSeg#+195) DD @imager...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
361
420
Terraspace/UASM:simsegm.asm:11
mov QWORD PTR [rax+8], rbx mov QWORD PTR [rax+16], rbp mov QWORD PTR [rax+32], rdi movsxd rbx, ecx mov QWORD PTR [rax-24], r14 lea r14, OFFSET FLAT:$SG5618 mov rbp, rdx lea rdi, OFFSET FLAT:$SG5614 lea rcx, OFFSET FLAT:$SG5616 jbe SHORT $LN23@SetSimSeg ; 112 : if ( ModuleInfo.model == MODEL_FLAT ) ...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
401
460
Terraspace/UASM:simsegm.asm:12
; 123 : if ( segm == SIM_CODE ) test ebx, ebx mov QWORD PTR [rsp+88], r13 lea rdx, OFFSET FLAT:__ImageBase jne SHORT $LN18@SetSimSeg ; 124 : pClass = GetCodeClass(); mov rax, QWORD PTR Options+88 lea r13, OFFSET FLAT:$SG5566 test rax, rax cmovne r13, rax ; 125 : else jmp SHORT $LN16@Set...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
441
500
Terraspace/UASM:simsegm.asm:13
test rbp, rbp mov QWORD PTR [rsp+128], rsi mov QWORD PTR [rsp+96], r12 mov QWORD PTR [rsp+72], r15 lea rsi, OFFSET FLAT:$SG5635 jne $LN14@SetSimSeg ; 133 : name = SegmNames[segm]; mov rcx, QWORD PTR SegmNames[rdx+rbx*8] ; 134 : if (name == NULL) name = "_flat"; lea rbp, OFFSET FLAT:$SG5640 ; 135...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
481
540
Terraspace/UASM:simsegm.asm:14
shl r12b, cl or al, r12b ; 139 : /* v2.05: if segment exists already, use the current attribs. ; 140 : * This allows a better mix of full and simplified segment ; 141 : * directives. Masm behaves differently: the attributes ; 142 : * of the simplified segment dir...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
521
580
Terraspace/UASM:simsegm.asm:15
; 150 : } ; 151 : if ( ModuleInfo.simseg_defd & ( 1 << segm ) ) test al, r15b je SHORT $LN32@SetSimSeg ; 152 : pFmt = "%s %r"; lea rsi, OFFSET FLAT:$SG5647 ; 153 : } ; 154 : } else { lea rdx, OFFSET FLAT:__ImageBase jmp SHORT $LN6@SetSimSeg $LN14@SetSim...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
561
620
Terraspace/UASM:simsegm.asm:16
cmovne rcx, rsi mov rsi, rcx jmp SHORT $LN6@SetSimSeg $LN32@SetSimSeg: ; 135 : if ( ModuleInfo.simseg_init & ( 1 << segm ) ) lea rdx, OFFSET FLAT:__ImageBase jmp SHORT $LN6@SetSimSeg $LN33@SetSimSeg: lea rdx, OFFSET FLAT:__ImageBase jmp SHORT $LN6@SetSimSeg $LN34@SetSimSeg: lea rdx, OFFSET FLAT:__Imag...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
601
660
Terraspace/UASM:simsegm.asm:17
mov QWORD PTR [rsp+32], rax call AddLineQueueX ; 172 : AddLineQueueX("assume cs:_flat, ds:_flat, es:_flat, ss:_flat, fs:_flat, gs:_flat"); lea rcx, OFFSET FLAT:$SG5659 call AddLineQueueX ; 173 : if (Parse_Pass == PASS_1) cmp DWORD PTR Parse_Pass, 0 jne $LN1@SetSimSeg ; 174 : { ; 175 : sym_CodeSiz...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
641
700
Terraspace/UASM:simsegm.asm:18
mov QWORD PTR sym_ReservedStack, rcx ; 180 : sym_ReservedStack->predefined = TRUE; or BYTE PTR [rcx+48], 32 ; 00000020H ; 181 : } ; 182 : FStoreLine(0); cmp DWORD PTR Parse_Pass, 0 jne SHORT $LN1@SetSimSeg mov rcx, QWORD PTR ModuleInfo+464 xor r8d, r8d xor edx, edx call StoreLine ; 183 : } ; 1...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
681
740
Terraspace/UASM:simsegm.asm:19
mov rbx, QWORD PTR [rsp+112] ; 187 : } ; 188 : ; 189 : return; ; 190 : } add rsp, 104 ; 00000068H ret 0 SetSimSeg ENDP ; Function compile flags: /Ogtpy segm$ = 8 EndSimSeg PROC NEAR ; 195 : AddLineQueueX( "%s %r", SegmNames[segm], T_ENDS ); movsxd rdx, ecx lea rax, OFFSET FLAT:SegmNames lea rc...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
721
780
Terraspace/UASM:simsegm.asm:20
xdata ENDS pdata SEGMENT $pdata$SimplifiedSegDir DD @imagerel($LN50#) DD @imagerel($LN50#+72) DD @imagerel($unwind$SimplifiedSegDir#) pdata ENDS xdata SEGMENT $chain$3$SimplifiedSegDir DD 041c21H DD 017741cH DD 01d5408H DD @imagerel($LN50#) DD @imagerel($LN50#+72) DD @imagerel($unwind$SimplifiedSegDir#) xdata EN...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
761
820
Terraspace/UASM:simsegm.asm:21
DD @imagerel($LN50#+824) DD @imagerel($chain$5$SimplifiedSegDir#) ; Function compile flags: /Ogtpy pdata ENDS _TEXT SEGMENT init$ = 48 opndx$ = 64 i$ = 208 tokenarray$ = 216 SimplifiedSegDir PROC NEAR ; 205 : { $LN50: mov DWORD PTR [rsp+8], ecx mov rax, rsp sub rsp, 200 ; 000000c8H mov QWORD PTR [rax+24], rb...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
801
860
Terraspace/UASM:simsegm.asm:22
cmp DWORD PTR ModuleInfo+360, ebx jne SHORT $LN30@Simplified ; 216 : EmitError( MODEL_IS_NOT_DECLARED ); lea ecx, QWORD PTR [rbx+96] call EmitError ; 217 : return( ERROR ); lea eax, QWORD PTR [rbx-1] jmp $LN31@Simplified $LN30@Simplified: ; 218 : } ; 219 : ; 220 : //type = tokenar...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
841
900
Terraspace/UASM:simsegm.asm:23
; 225 : if ( EvalOperand( &i, tokenarray, Token_Count, &opndx, 0 ) == ERROR ) mov r8d, DWORD PTR ModuleInfo+496 lea r9, QWORD PTR opndx$[rsp] lea rcx, QWORD PTR i$[rsp] mov rdx, rsi mov BYTE PTR [rsp+32], bl call EvalOperand cmp eax, -1 ; 226 : return( ERROR ); je SHORT $LN49@Simplified...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
881
940
Terraspace/UASM:simsegm.asm:24
mov eax, -1 jmp $LN48@Simplified $LN29@Simplified: ; 232 : } ; 233 : } else { ; 234 : /* Masm accepts a name argument for .CODE and .FARDATA[?] only. ; 235 : * HJWasm also accepts this for .DATA[?] and .CONST unless ; 236 : * option -Zne is set. ; 237 : */ ; 238 :...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
921
980
Terraspace/UASM:simsegm.asm:25
; 243 : i++; inc edx mov DWORD PTR i$[rsp], edx jmp SHORT $LN23@Simplified $LN45@Simplified: ; 228 : opndx.value = DEFAULT_STACK_SIZE; mov edx, DWORD PTR i$[rsp] $LN23@Simplified: ; 244 : } ; 245 : } ; 246 : if ( tokenarray[i].token != T_FINAL ) { movsxd rdx, edx ...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
961
1,020
Terraspace/UASM:simsegm.asm:26
; 252 : close_currseg(); /* emit a "xxx ENDS" line to close current seg */ mov rdx, QWORD PTR ModuleInfo+432 test rdx, rdx je SHORT $LN33@Simplified mov rdx, QWORD PTR [rdx+8] lea rcx, OFFSET FLAT:$SG5606 mov r8d, 442 ; 000001baH call AddLineQueueX $LN33@Simplified: ; 253 : ; 254 : if ( name...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,001
1,060
Terraspace/UASM:simsegm.asm:27
mov rdx, rbx xor ecx, ecx call SetSimSeg ; 260 : ; 261 : if( ModuleInfo.model == MODEL_TINY ) { mov r11d, DWORD PTR ModuleInfo+360 cmp r11d, 1 jne SHORT $LN14@Simplified ; 262 : /* v2.05: add the named code segment to DGROUP */ ; 263 : if ( name ) test rbx, rbx je SHORT $L...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,041
1,100
Terraspace/UASM:simsegm.asm:28
; 268 : } else { jmp SHORT $LN9@Simplified $LN11@Simplified: ; 269 : if( name == NULL ) test rbx, rbx cmove rbx, QWORD PTR SegmNames $LN9@Simplified: ; 270 : name = SegmNames[SIM_CODE]; ; 271 : } ; 272 : AddLineQueueX( "%r %r:%s", T_ASSUME, T_CS, name ); ...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,081
1,140
Terraspace/UASM:simsegm.asm:29
mov edx, DWORD PTR opndx$[rsp] lea rcx, OFFSET FLAT:$SG5715 call AddLineQueueX ; 283 : EndSimSeg( SIM_STACK ); mov rdx, QWORD PTR SegmNames+8 lea rcx, OFFSET FLAT:$SG5672 mov r8d, 442 ; 000001baH call AddLineQueueX ; 284 : /* add stack to dgroup for some segmented models */ ; 285 : ...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,121
1,180
Terraspace/UASM:simsegm.asm:30
jmp SHORT $LN1@Simplified $LN5@Simplified: ; 289 : case SIM_DATA: /* .data */ ; 290 : case SIM_DATA_UN: /* .data? */ ; 291 : case SIM_CONST: /* .const */ ; 292 : SetSimSeg( type, name ); mov rdx, rbx mov ecx, edi call SetSimSeg ; 293 : AddLineQueueX( "%r %r:ERROR", T_ASSUME,...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,161
1,220
Terraspace/UASM:simsegm.asm:31
; 299 : SetSimSeg( type, name ); mov rdx, rbx mov ecx, edi call SetSimSeg ; 300 : AddLineQueueX( "%r %r:ERROR", T_ASSUME, T_CS ); lea rcx, OFFSET FLAT:$SG5724 mov edx, 444 ; 000001bcH mov r8d, 26 call AddLineQueueX $LN1@Simplified: ; 301 : break; ; 302 : default: /* shouldn...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,201
1,260
Terraspace/UASM:simsegm.asm:32
npad 2 $LN44@Simplified: DD $LN15@Simplified DD $LN8@Simplified DD $LN5@Simplified DD $LN5@Simplified DD $LN2@Simplified DD $LN2@Simplified DD $LN5@Simplified SimplifiedSegDir ENDP _TEXT ENDS PUBLIC SetModelDefaultSegNames EXTRN LclAlloc:NEAR xdata SEGMENT $unwind$SetModelDefaultSegNames DD 031001H DD 097410H ...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,241
1,300
Terraspace/UASM:simsegm.asm:33
DD @imagerel($LN14#+204) DD @imagerel($unwind$SetModelDefaultSegNames#) xdata ENDS pdata SEGMENT $pdata$3$SetModelDefaultSegNames DD @imagerel($LN14#+336) DD @imagerel($LN14#+356) DD @imagerel($chain$3$SetModelDefaultSegNames#) pdata ENDS xdata SEGMENT $chain$4$SetModelDefaultSegNames DD 021H DD @imagerel($LN14#) ...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,281
1,340
Terraspace/UASM:simsegm.asm:34
mov rax, QWORD PTR SegmNamesDef[rcx] mov QWORD PTR SegmNames[rcx], rax mov rax, QWORD PTR SegmNamesDef[rcx+8] mov QWORD PTR SegmNames[rcx+8], rax mov rax, QWORD PTR SegmNamesDef[rcx+16] mov QWORD PTR SegmNames[rcx+16], rax mov rax, QWORD PTR SegmNamesDef[rcx+24] mov QWORD PTR SegmNames[rcx+24], rax mov rax, QWO...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,321
1,380
Terraspace/UASM:simsegm.asm:35
$LN4@SetModelDe: ; 329 : if ( SIZE_CODEPTR & ( 1 << ModuleInfo.model ) ) { mov ecx, DWORD PTR ModuleInfo+360 mov eax, 1 shl eax, cl test al, 112 ; 00000070H je $LN2@SetModelDe ; 330 : /* for some models, the code segment contains the module name */ ; 331 : SegmNames[SIM_CO...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,361
1,420
Terraspace/UASM:simsegm.asm:36
jne SHORT $LL8@SetModelDe ; 333 : strcat( SegmNames[SIM_CODE], SegmNamesDef[SIM_CODE] ); mov rdi, QWORD PTR SegmNames mov rbx, QWORD PTR [rsp+56] xor eax, eax mov rcx, -1 repne scasb xor edx, edx npad 7 $LL13@SetModelDe: movzx eax, BYTE PTR [rsi+rdx] inc rdx test al, al mov BYTE PTR [rdi+rdx-2...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,401
1,460
Terraspace/UASM:simsegm.asm:37
mov rdx, QWORD PTR Options+80 mov QWORD PTR SegmNames+16, rax $LL9@SetModelDe: movzx ecx, BYTE PTR [rdx] inc rax inc rdx test cl, cl mov BYTE PTR [rax-1], cl jne SHORT $LL9@SetModelDe $LN1@SetModelDe: mov rdi, QWORD PTR [rsp+72] ; 341 : } ; 342 : return; ; 343 : } add rsp, 40 ; 00000028H ret ...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,441
1,500
Terraspace/UASM:simsegm.asm:38
sub rsp, 80 ; 00000050H mov edi, ecx ; 353 : char buffer[20]; ; 354 : ; 355 : ModuleInfo.simseg_init = 0; /* v2.09: reset init flags */ ; 356 : /* v2.09: execute always, to make a proper listing if fastpass is off */ ; 357 : //if ( Parse_Pass == PASS_1 ) { ; 358 : DebugMsg1(("ModelSi...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,481
1,540
Terraspace/UASM:simsegm.asm:39
; 367 : /* create DGROUP for BIN/OMF if model isn't FLAT */ ; 368 : if( model != MODEL_FLAT && ; 369 : ( Options.output_format == OFORMAT_OMF ; 370 : #if BIN_SUPPORT ; 371 : || Options.output_format == OFORMAT_BIN ; 372 : #endif ; 373 : )) { cmp edi, 7 je $LN1...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,521
1,580
Terraspace/UASM:simsegm.asm:40
test al, al mov BYTE PTR [rdi+rcx-2], al jne SHORT $LL11@ModelSimSe ; 377 : AddLineQueueX( buffer, szDgroup, T_GROUP, SegmNames[SIM_CODE], SegmNames[SIM_DATA] ); mov rax, QWORD PTR SegmNames+16 mov r9, QWORD PTR SegmNames lea rdx, OFFSET FLAT:szDgroup lea rcx, QWORD PTR buffer$[rsp] mov r8d, 4...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,561
1,620
Terraspace/UASM:simsegm.asm:41
; 382 : //} ; 383 : return( NOT_ERROR ); xor eax, eax ; 384 : } add rsp, 80 ; 00000050H pop rdi ret 0 ModelSimSegmInit ENDP _TEXT ENDS PUBLIC ModelSimSegmExit xdata SEGMENT $unwind$ModelSimSegmExit DD 010401H DD 04204H xdata ENDS pdata SEGMENT $pdata$ModelSimSegmExit DD @imagerel($LN8#) DD @imag...
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,601
1,658
Terraspace/UASM:simsegm.asm:42
mov rdx, QWORD PTR [rdx+8] lea rcx, OFFSET FLAT:$SG5606 mov r8d, 442 ; 000001baH call AddLineQueueX ; 394 : RunLineQueue(); call RunLineQueue $LN1@ModelSimSe@2: ; 395 : } ; 396 : } add rsp, 40 ; 00000028H ret 0 ModelSimSegmExit ENDP _TEXT ENDS END
arm64
masm-like
handwritten
Terraspace/UASM
simsegm.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/simsegm.asm
1,641
1,658
Terraspace/UASM:tbyte.asm:1
; Listing generated by Microsoft (R) Optimizing Compiler Version 14.00.40310.41 include listing.inc INCLUDELIB LIBCMT INCLUDELIB OLDNAMES _DATA SEGMENT COMM decoflags:BYTE COMM MODULEARCH:BYTE COMM broadflags:BYTE COMM ZEROLOCALS:BYTE COMM evex:BYTE _DATA ENDS CONST SEGMENT tab_plus_exp DD 00H DD 00H DD 0a0000000H...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1
60
Terraspace/UASM:tbyte.asm:2
DD 0f0200000H DD 02b70b59dH DD 09dc5ada8H DW 04069H ORG $+2 DD 03cbf6b71H DD 0ffcfa6d5H DD 0c2781f49H DW 040d3H ORG $+2 DD 0c66f336bH DD 080e98cdfH DD 093ba47c9H DW 041a8H ORG $+2 DD 0ddbb9018H DD 09df9de8dH DD 0aa7eebfbH DW 04351H ORG $+2 DD 0cc655c4bH DD 0a60e91c6H DD 0e319a0aeH DW 046a3H ORG ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
41
100
Terraspace/UASM:tbyte.asm:3
tab_minus_exp DD 0cccccccdH DD 0ccccccccH DD 0ccccccccH DW 03ffbH ORG $+2 DD 03d70a3d7H DD 070a3d70aH DD 0a3d70a3dH DW 03ff8H ORG $+2 DD 0d3c36113H DD 0e219652bH DD 0d1b71758H DW 03ff1H ORG $+2 DD 0fdc20d2aH DD 08461cefcH DD 0abcc7711H DW 03fe4H ORG $+2 DD 04c2ebe65H DD 0c44de15bH DD 0e69594beH D...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
81
140
Terraspace/UASM:tbyte.asm:4
DD 0fa911122H DD 0637a1939H DD 0c0314325H DW 03cacH ORG $+2 DD 07132d2e4H DD 0db23d21cH DD 09049ee32H DW 0395aH ORG $+2 DD 087a600a6H DD 0da57c0bdH DD 0a2a682a5H DW 032b5H ORG $+2 DD 04925110fH DD 034362de4H DD 0ceae534fH DW 0256bH ORG $+2 DD 02de37e46H DD 0d2ce9fdeH DD 0a6dd04c8H DW 0ad8H ORG $...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
121
180
Terraspace/UASM:tbyte.asm:5
; 113 : } else if( x->m32[2] < 0x19999999UL ) { ; 114 : return( -1 ); jb SHORT $LN19@cmp_u96_ma ; 115 : } else if( x->m32[1] > 0x99999999UL ) { mov eax, DWORD PTR [rcx+4] cmp eax, -1717986919 ; 99999999H ; 116 : return( 1 ); ja SHORT $LN18@cmp_u96_ma ; 117 : } else if( x->m3...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
161
220
Terraspace/UASM:tbyte.asm:6
; 120 : return( 1 ); mov eax, 1 ; 122 : return( -1 ); ; 123 : } else { ; 124 : return( 0 ); ; 125 : } ; 126 : } ret 0 $LN17@cmp_u96_ma: ; 121 : } else if( x->m32[0] < 0x99999998UL ) { sbb eax, eax ; 122 : return( -1 ); ; 123 : } else { ; 124 : r...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
201
260
Terraspace/UASM:tbyte.asm:7
mov eax, DWORD PTR [rcx+4] cmp eax, -1717986919 ; 99999999H ja SHORT $LN27@add_check_ jb SHORT $LN5@add_check_ cmp DWORD PTR [rcx], -1717986920 ; 99999998H jbe SHORT $LN5@add_check_ $LN27@add_check_: ; 138 : return( 1 ); mov eax, 1 ; 147 : } ; 148 : } ret 0 $LN5@add_check_: ; 139 : } ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
241
300
Terraspace/UASM:tbyte.asm:8
; 145 : } ; 146 : return( 0 ); xor eax, eax mov DWORD PTR [r9+4], r8d add ecx, ecx shr r8, 32 ; 00000020H add r8d, ecx mov DWORD PTR [r9+8], r8d ; 147 : } ; 148 : } ret 0 add_check_u96_overflow ENDP ; Function compile flags: /Ogtpy x$ = 8 bitsize32 PROC NEAR ; 155 : int i; ; ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
281
340
Terraspace/UASM:tbyte.asm:9
; 160 : } ; 161 : return( i ); ; 162 : } ret 0 bitsize32 ENDP ; Function compile flags: /Ogtpy x$ = 8 bitsize64 PROC NEAR ; 169 : int i; ; 170 : ; 171 : for( i = 64; i > 0 ; i-- ) { mov eax, 64 ; 00000040H mov rdx, -9223372036854775808 ; 8000000000000000H npad 1 $LL4@bitsize64: ; 172 ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
321
380
Terraspace/UASM:tbyte.asm:10
$unwind$U96LD DD 010201H DD 03002H xdata ENDS pdata SEGMENT $pdata$U96LD DD @imagerel(U96LD#) DD @imagerel(U96LD#+239) DD @imagerel($unwind$U96LD#) ; Function compile flags: /Ogtpy pdata ENDS _TEXT SEGMENT op$ = 16 res$ = 24 U96LD PROC NEAR ; 182 : { push rbx ; 183 : int bs; ; 184 : int shft; ; 185 :...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
361
420
Terraspace/UASM:tbyte.asm:11
add ecx, ecx test eax, eax jg SHORT $LL11@U96LD $LN29@U96LD: add eax, 64 ; 00000040H ; 188 : if( bs == 64 ) { xor edx, edx cmp eax, 64 ; 00000040H jne SHORT $LN5@U96LD ; 189 : res->m32[2] = res->m32[1]; mov eax, DWORD PTR [r10+4] mov DWORD PTR [r10+8], eax ; 190 : res->m32[1]...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
401
460
Terraspace/UASM:tbyte.asm:12
; 194 : if( bs == 32 ) { cmp eax, r11d jne SHORT $LN4@U96LD ; 195 : res->m32[2] = res->m32[1]; mov eax, DWORD PTR [r10+4] mov DWORD PTR [r10+8], eax ; 196 : res->m32[1] = res->m32[0]; mov eax, DWORD PTR [r10] ; 197 : res->m32[0] = 0; ; 198 : bs = bitsize32( res->m32[2...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
441
500
Terraspace/UASM:tbyte.asm:13
; 215 : } pop rbx ret 0 $LN3@U96LD: ; 202 : } else { ; 203 : res->e = bs - 1 + EXPONENT_BIAS; lea ecx, DWORD PTR [rax+16382] ; 204 : bs %= 32; cdq and edx, 31 mov WORD PTR [r10+12], cx add eax, edx and eax, 31 sub eax, edx mov ebx, eax ; 205 : if( bs ) { je SHORT $LN35...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
481
540
Terraspace/UASM:tbyte.asm:14
; 210 : res->m32[1] |= res->m32[0] >> bs; mov edx, DWORD PTR [r10] mov eax, edx mov DWORD PTR [r10+8], r8d shr eax, cl mov ecx, r11d shl r9d, cl or eax, r9d ; 211 : res->m32[0] <<= shft; shl edx, cl mov DWORD PTR [r10], edx mov DWORD PTR [r10+4], eax $LN35@U96LD: ; 212 : ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
521
580
Terraspace/UASM:tbyte.asm:15
res$ = 16 normalize PROC NEAR ; 222 : { push rbx ; 223 : int shft; ; 224 : int bs; ; 225 : int bs1; ; 226 : ; 227 : bs = bitsize64( res->m64[2] ) + 128; mov rax, QWORD PTR [rcx+16] mov rbx, rcx mov ecx, 64 ; 00000040H mov r11d, ecx mov rdx, -9223372036854775808 ; 8000000000000000H ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
561
620
Terraspace/UASM:tbyte.asm:16
; 231 : res->m64[0] = 0; ; 232 : bs = bitsize64( res->m64[2] ) + 64; mov r11d, ecx mov QWORD PTR [rbx+16], rax mov rax, QWORD PTR [rbx] mov QWORD PTR [rbx], r8 mov QWORD PTR [rbx+8], rax mov rax, QWORD PTR [rbx+16] npad 7 $LL16@normalize: test rax, rdx jne SHORT $LN29@normalize dec r11d ad...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
601
660
Terraspace/UASM:tbyte.asm:17
mov rax, QWORD PTR [rbx+16] $LL22@normalize: test rax, rdx jne SHORT $LN3@normalize dec r11d add rax, rax test r11d, r11d jg SHORT $LL22@normalize $LN3@normalize: ; 239 : } ; 240 : if( bs == 0 ) { test r11d, r11d jne SHORT $LN2@normalize ; 241 : return( 0 ); xor eax, eax ; 253 : } po...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
641
700
Terraspace/UASM:tbyte.asm:18
; 245 : shft = 64 - bs1; ; 246 : res->m64[2] <<= shft; ; 247 : res->m64[2] |= res->m64[1] >> bs1; mov r9, QWORD PTR [rbx+8] sub ecx, eax movsxd r8, eax mov rax, QWORD PTR [rbx+16] movsxd r10, ecx mov rdx, r9 mov rcx, r8 shr rdx, cl mov rcx, r10 shl rax, cl ; 248 : res->m6...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
681
740
Terraspace/UASM:tbyte.asm:19
; 253 : } pop rbx ret 0 normalize ENDP ; Function compile flags: /Ogtpy res$ = 8 x$ = 16 pos$ = 24 add192 PROC NEAR ; 259 : { mov r9, rcx ; 260 : uint_64 cy; ; 261 : int i; ; 262 : ; 263 : cy = (uint_32)x; ; 264 : for( i = pos; i < 6; i++ ) { movsxd rcx, r8d mov r10d, edx cmp rcx, 6 j...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
721
780
Terraspace/UASM:tbyte.asm:20
shr r10, 32 ; 00000020H cmp rcx, 6 jl SHORT $LL6@add192 $LN4@add192: ; 268 : } ; 269 : cy = x >> 32; ; 270 : for( i = pos + 1; i < 6; i++ ) { lea eax, DWORD PTR [r8+1] shr rdx, 32 ; 00000020H movsxd rcx, eax cmp rcx, 6 jge SHORT $LN13@add192 npad 6 $LL3@add192: ; 271 : cy += r...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
761
820
Terraspace/UASM:tbyte.asm:21
ret 0 add192 ENDP _TEXT ENDS xdata SEGMENT $unwind$multiply DD 031901H DD 0f3419H DD 0a20cH xdata ENDS pdata SEGMENT $pdata$multiply DD @imagerel(multiply#) DD @imagerel(multiply#+30) DD @imagerel($unwind$multiply#) pdata ENDS xdata SEGMENT $chain$7$multiply DD 0e4821H DD 04f448H DD 05e438H DD 06d41aH DD 07c412...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
801
860
Terraspace/UASM:tbyte.asm:22
xdata ENDS pdata SEGMENT $pdata$8$multiply DD @imagerel(multiply#+709) DD @imagerel(multiply#+998) DD @imagerel($chain$8$multiply#) pdata ENDS xdata SEGMENT $chain$9$multiply DD 040021H DD 04f400H DD 087400H DD @imagerel(multiply#) DD @imagerel(multiply#+30) DD @imagerel($unwind$multiply#) xdata ENDS pdata SEGME...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
841
900
Terraspace/UASM:tbyte.asm:23
mov r9w, WORD PTR [rcx+12] mov ax, WORD PTR [rdx+12] mov QWORD PTR [r11+32], rbx and eax, 32767 ; 00007fffH mov QWORD PTR [r11-8], rbp ; 289 : r1.m64[0] = (uint_64)(op1->m32[0]) * (uint_64)(op2->m32[0]); mov ebp, DWORD PTR [rdx] mov QWORD PTR [r11-16], rsi mov QWORD PTR [r11-24], rdi mov QWORD PTR [r1...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
881
940
Terraspace/UASM:tbyte.asm:24
imul rdi, rsi imul rax, rbx imul rbx, rbp mov QWORD PTR [r11-80], rax mov rax, r12 imul rax, rcx mov QWORD PTR [r11-72], rax mov r11d, DWORD PTR [r11-84] mov r15d, DWORD PTR r1$[rsp+20] mov eax, ebx shr rbx, 32 ; 00000020H add r11, rax mov eax, DWORD PTR r1$[rsp+8] mov rcx, r11 shr rcx, 32 ; 00000...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
921
980
Terraspace/UASM:tbyte.asm:25
add r10, rax mov rax, r10 shr rax, 32 ; 00000020H add r15d, eax mov eax, edi add r8, rax mov eax, ebx mov DWORD PTR r1$[rsp+4], r8d shr r8, 32 ; 00000020H add r8, rax mov eax, r9d mov rcx, r8 shr rcx, 32 ; 00000020H add rcx, rax mov eax, r10d mov rdx, rcx shr rdx, 32 ; 00000020H add rdx...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
961
1,020
Terraspace/UASM:tbyte.asm:26
shr r9, 32 ; 00000020H add r9, rax mov rax, r9 shr rax, 32 ; 00000020H add r15d, eax mov eax, edi ; 298 : x1 = (uint_64)(op1->m32[2]) * (uint_64)(op2->m32[0]); mov rdi, QWORD PTR cy$3$[rsp] add r10, rax mov eax, r8d mov r11, rdi mov rcx, r10 shr rcx, 32 ; 00000020H add rcx, rax mov eax, ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,001
1,060
Terraspace/UASM:tbyte.asm:27
add r15d, eax mov eax, r10d add rdx, rax mov eax, ebx mov DWORD PTR r1$[rsp+8], edx shr rdx, 32 ; 00000020H add rdx, rax mov eax, r8d ; 301 : add192( &r1, x1, 3 ); mov r8d, r9d mov rcx, rdx shr rcx, 32 ; 00000020H add rcx, rax mov rax, rcx shr rax, 32 ; 00000020H add r15d, eax mov eax,...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,041
1,100
Terraspace/UASM:tbyte.asm:28
imul rdi, r14 mov r14, QWORD PTR [rsp+40] shr rax, 32 ; 00000020H shr r9, 32 ; 00000020H add r15d, eax mov eax, ecx ; 303 : add192( &r1, x1, 3 ); mov ebx, edi add r9, rax shr rdi, 32 ; 00000020H ; 304 : exp += normalize( &r1 ); mov rdx, -9223372036854775808 ; 8000000000000000H mov r...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,081
1,140
Terraspace/UASM:tbyte.asm:29
mov rax, r11 $LL63@multiply: test rax, rdx jne SHORT $LN103@multiply dec r9d add rax, rax test r9d, r9d jg SHORT $LL63@multiply $LN103@multiply: sub r9d, -128 ; ffffffffffffff80H cmp r9d, 128 ; 00000080H jne SHORT $LN170@multiply mov r11, QWORD PTR r1$[rsp+8] mov r10, QWORD PTR r1$[rsp] xor esi, esi ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,121
1,180
Terraspace/UASM:tbyte.asm:30
mov r11, r10 mov QWORD PTR r1$[rsp+16], r10 mov QWORD PTR r1$[rsp+8], rsi mov r10, rsi mov r9d, ecx mov rax, r11 xor esi, esi npad 3 $LL75@multiply: test rax, rdx jne SHORT $LN105@multiply dec r9d add rax, rax test r9d, r9d jg SHORT $LL75@multiply $LN105@multiply: mov edi, DWORD PTR r1$[rsp+16] mov r15d,...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,161
1,220
Terraspace/UASM:tbyte.asm:31
or r11, rax shl r10, cl mov rcx, r8 shr rsi, cl mov edi, r11d mov QWORD PTR r1$[rsp+16], r11 mov r15d, DWORD PTR r1$[rsp+20] or r10, rsi mov QWORD PTR cy$3$[rsp], rdi mov QWORD PTR r1$[rsp+8], r10 mov ebx, DWORD PTR r1$[rsp+12] $LN54@multiply: add r9d, -192 ; ffffffffffffff40H $LN58@multiply: mov edx, DW...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,201
1,260
Terraspace/UASM:tbyte.asm:32
xor ecx, ecx ; 310 : r1.m32[5] = 0x80000000U; mov r15d, -2147483648 ; 80000000H ; 311 : exp++; inc edx ; 312 : } else { jmp SHORT $LN168@multiply $LN2@multiply: ; 313 : x1 = 1L; ; 314 : add192( &r1, x1, 3 ); mov ecx, ebx mov eax, edi inc rcx ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,241
1,300
Terraspace/UASM:tbyte.asm:33
; 315 : } ; 316 : } ; 317 : res->m32[0] = r1.m32[3]; mov rax, QWORD PTR res$[rsp] mov rdi, QWORD PTR [rsp+64] mov DWORD PTR [rax], ebx mov rbx, QWORD PTR [rsp+120] ; 318 : res->m32[1] = r1.m32[4]; ; 319 : res->m32[2] = r1.m32[5]; mov DWORD PTR [rax+8], r15d mov r15, QWORD PTR [rsp+...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,281
1,340
Terraspace/UASM:tbyte.asm:34
$chain$2$TB_create DD 060f21H DD 0b740fH DD 0a640aH DD 095405H DD @imagerel(TB_create#) DD @imagerel(TB_create#+6) DD @imagerel($unwind$TB_create#) xdata ENDS pdata SEGMENT $pdata$2$TB_create DD @imagerel(TB_create#+6) DD @imagerel(TB_create#+53) DD @imagerel($chain$2$TB_create#) pdata ENDS xdata SEGMENT $chain...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,321
1,380
Terraspace/UASM:tbyte.asm:35
DD 0a6400H DD @imagerel(TB_create#) DD @imagerel(TB_create#+6) DD @imagerel($unwind$TB_create#) xdata ENDS pdata SEGMENT $pdata$6$TB_create DD @imagerel(TB_create#+430) DD @imagerel(TB_create#+486) DD @imagerel($chain$6$TB_create#) ; Function compile flags: /Ogtpy pdata ENDS _TEXT SEGMENT res$ = 32 value$ = 64 exp...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,361
1,420
Terraspace/UASM:tbyte.asm:36
; 336 : tabExp = tab_minus_exp; lea rbp, OFFSET FLAT:tab_minus_exp ; 337 : } else { jmp SHORT $LN10@TB_create $LN11@TB_create: ; 338 : tabExp = tab_plus_exp; lea rbp, OFFSET FLAT:tab_plus_exp $LN10@TB_create: ; 339 : } ; 340 : U96LD(value, &res); mov eax, DWORD PTR [rcx] lea...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,401
1,460
Terraspace/UASM:tbyte.asm:37
xor ebx, ebx cmp eax, 64 ; 00000040H jne SHORT $LN52@TB_create mov r8d, DWORD PTR res$[rsp+4] mov r9d, DWORD PTR res$[rsp] mov r10d, ebx mov DWORD PTR res$[rsp], ebx mov eax, r12d mov DWORD PTR res$[rsp+8], r8d mov DWORD PTR res$[rsp+4], r9d mov ecx, r8d npad 2 $LL30@TB_create: bt ecx, 31 jb SHORT $LN4...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,441
1,500
Terraspace/UASM:tbyte.asm:38
dec eax add ecx, ecx test eax, eax jg SHORT $LL36@TB_create $LN45@TB_create: test eax, eax jne SHORT $LN16@TB_create mov WORD PTR res$[rsp+12], bx jmp SHORT $LN53@TB_create $LN16@TB_create: lea ecx, DWORD PTR [rax+16382] cdq and edx, 31 mov WORD PTR res$[rsp+12], cx add eax, edx and eax, 31 sub eax, edx ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,481
1,540
Terraspace/UASM:tbyte.asm:39
; 341 : for( i = 0; i < MAX_EXP_INDEX; i++ ) { ; 342 : if ( exponent & 1 ) { test dil, 1 je SHORT $LN6@TB_create ; 343 : multiply(&res, tabExp + i, &res); movsxd rdx, ebx lea r8, QWORD PTR res$[rsp] lea rcx, QWORD PTR res$[rsp] shl rdx, 4 add rdx, rbp call multiply $LN6@TB_create: ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,521
1,580
Terraspace/UASM:tbyte.asm:40
mov rdi, QWORD PTR [rsp+88] mov rbp, QWORD PTR [rsp+72] mov rbx, QWORD PTR [rsp+64] shl rcx, 32 ; 00000020H mov WORD PTR [rsi+8], dx add rax, rcx ; 353 : /* round result */ ; 354 : if( res.m32[0] & 0x80000000U ) { bt DWORD PTR res$[rsp], 31 mov QWORD PTR [rsi], rax jae SHORT $LN51@TB_create ; 3...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,561
1,620
Terraspace/UASM:tbyte.asm:41
; 363 : } add rsp, 56 ; 00000038H ret 0 $LN2@TB_create: ; 358 : } else { ; 359 : ld->m++; inc rax mov QWORD PTR [rsi], rax $LN51@TB_create: ; 360 : } ; 361 : } ; 362 : return( 0 ); xor eax, eax mov rsi, QWORD PTR [rsp+80] ; 363 : } add rsp, 56 ; 00000038H...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,601
1,660
Terraspace/UASM:tbyte.asm:42
DD 0bc489H DD 0e547fH DD 09e40cH DD 0c7408H DD 0d6404H DD @imagerel($LN105#) DD @imagerel($LN105#+16) DD @imagerel($unwind$strtotb#) xdata ENDS pdata SEGMENT $pdata$5$strtotb DD @imagerel($LN105#+16) DD @imagerel($LN105#+155) DD @imagerel($chain$5$strtotb#) pdata ENDS xdata SEGMENT $chain$7$strtotb DD 041721H ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,641
1,700
Terraspace/UASM:tbyte.asm:43
$chain$9$strtotb DD 020021H DD 09e400H DD @imagerel($LN105#) DD @imagerel($LN105#+16) DD @imagerel($unwind$strtotb#) xdata ENDS pdata SEGMENT $pdata$9$strtotb DD @imagerel($LN105#+727) DD @imagerel($LN105#+776) DD @imagerel($chain$9$strtotb#) pdata ENDS xdata SEGMENT $chain$10$strtotb DD 0c0021H DD 08f400H DD 0...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,681
1,740
Terraspace/UASM:tbyte.asm:44
pdata ENDS _TEXT SEGMENT value_tmp$ = 32 value$ = 48 exp_sign$1$ = 128 p$ = 128 ld$ = 136 sign$1$ = 144 negative$ = 144 strtotb PROC NEAR ; 370 : { $LN105: mov QWORD PTR [rsp+16], rdx mov rax, rsp sub rsp, 120 ; 00000078H mov QWORD PTR [rax+32], rbx mov QWORD PTR [rax-16], rsi mov QWORD PTR [rax-24], rdi m...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,721
1,780
Terraspace/UASM:tbyte.asm:45
mov esi, eax mov DWORD PTR sign$1$[rsp], eax movzx edi, r8b mov r14, rdx call isspace test eax, eax je SHORT $LN36@strtotb npad 9 $LL37@strtotb: movsx ecx, BYTE PTR [rbx+1] inc rbx call isspace test eax, eax jne SHORT $LL37@strtotb $LN36@strtotb: ; 382 : switch (*p) { mov al, BYTE PTR [rbx] cmp al,...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,761
1,820
Terraspace/UASM:tbyte.asm:46
; 390 : if( negative ) { test dil, dil je SHORT $LN30@strtotb ; 391 : sign = -sign; neg esi mov DWORD PTR sign$1$[rsp], esi $LN30@strtotb: ; 392 : } ; 393 : memset( &value, 0, sizeof( value ) ); ; 394 : memset( &value_tmp, 0, sizeof( value_tmp ) ); ; 395 : //exponent = 0; ; 396...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,801
1,860
Terraspace/UASM:tbyte.asm:47
mov r15d, ebp lea r14d, QWORD PTR [rdi+1] npad 6 $LL29@strtotb: ; 400 : if( overflow ) { test r12d, r12d je SHORT $LN27@strtotb ; 401 : exponent_tmp++; inc r11d ; 402 : exp1++; inc r9d ; 403 : } else { jmp $LN21@strtotb $LN27@strtotb: ; 404 : if( ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,841
1,900
Terraspace/UASM:tbyte.asm:48
lea rcx, QWORD PTR [rax+rax*4] mov rax, r15 mov DWORD PTR value_tmp$[rsp], r15d shr rax, 32 ; 00000020H lea rsi, QWORD PTR [rax+rcx*2] lea eax, DWORD PTR [rbp+rbp*4] add eax, eax mov rcx, rsi mov DWORD PTR value_tmp$[rsp+4], esi shr rcx, 32 ; 00000020H add ecx, eax ; 408 : } else if( *p ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,881
1,940
Terraspace/UASM:tbyte.asm:49
mov r12d, r14d ; 407 : exp1++; inc r9d jmp SHORT $LN21@strtotb $LN23@strtotb: ; 411 : } else if( U96ISNOTZERO(value) ) { cmp DWORD PTR value$[rsp], r10d jne SHORT $LN20@strtotb mov rax, rdi shr rax, 32 ; 00000020H jne SHORT $LN20@strtotb test r13d, r13d je SHORT $LN21@strt...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,921
1,980
Terraspace/UASM:tbyte.asm:50
lea r8d, DWORD PTR [rdx-48] mov eax, edx cmp r8d, 10 jb $LL29@strtotb ; 392 : } ; 393 : memset( &value, 0, sizeof( value ) ); ; 394 : memset( &value_tmp, 0, sizeof( value_tmp ) ); ; 395 : //exponent = 0; ; 396 : exp1 = 0; ; 397 : exponent_tmp = 0; ; 398 : overflow = 0; ; 399 : ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
1,961
2,020
Terraspace/UASM:tbyte.asm:51
; 421 : if( overflow == 0 ) { test r12d, r12d jne $LN13@strtotb ; 422 : if( add_check_u96_overflow( &value_tmp, *p - '0' ) ) { cmp ebp, 429496729 ; 19999999H ja $LN103@strtotb cmp ebp, 429496729 ; 19999999H jb SHORT $LN65@strtotb cmp esi, -1717986919 ; 99999999H ja $LN10...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
2,001
2,060
Terraspace/UASM:tbyte.asm:52
cmp dil, 48 ; 00000030H mov ebp, r8d mov DWORD PTR value_tmp$[rsp+8], r8d je SHORT $LN13@strtotb ; 427 : memcpy( &value, &value_tmp, sizeof( value ) ); lea rcx, QWORD PTR value_tmp$[rsp] lea rdx, QWORD PTR value$[rsp] ; 428 : exponent = exponent_tmp; mov r...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
2,041
2,100
Terraspace/UASM:tbyte.asm:53
mov r15, QWORD PTR [rsp+64] mov r12, QWORD PTR [rsp+88] mov rdi, QWORD PTR [rsp+96] mov rsi, QWORD PTR [rsp+104] mov rbp, QWORD PTR [rsp+112] or al, 32 ; 00000020H cmp al, 101 ; 00000065H jne $LN2@strtotb ; 437 : switch ( *++p ) { mov al, BYTE PTR [rbx+1] inc rbx cmp al, 43 ; 0000002bH ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
2,081
2,140
Terraspace/UASM:tbyte.asm:54
cmp DWORD PTR sign$1$[rsp], r10d mov QWORD PTR [r14], r10 mov WORD PTR [r14+8], r10w jge SHORT $LN1@strtotb mov WORD PTR [r14+8], 32768 ; 00008000H ; 457 : return( ld ); jmp SHORT $LN1@strtotb $LN103@strtotb: ; 423 : overflow = 1; mov r12d, r14d ; 424 : } ...
arm64
masm-like
handwritten
Terraspace/UASM
tbyte.asm
Apache-2.0
ef0d1165fa5195c40b50d6a499ec27d72353f8ab
github
assembler
https://github.com/Terraspace/UASM/blob/ef0d1165fa5195c40b50d6a499ec27d72353f8ab/tbyte.asm
2,121
2,180