id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Terraspace/UASM:x64/Release/tbyte.asm:16 | shr rax, 32 ; 00000020H
add r15d, eax
mov eax, r9d
add rdx, rax
shr r9, 32 ; 00000020H
mov DWORD PTR r1$[rsp+8], edx
shr rdx, 32 ; 00000020H
mov eax, r11d
add rdx, rax
mov eax, r8d
mov rcx, rdx
shr rcx, 32 ; 00000020H
add rcx, rax
mov rax, rcx
shr rax, 32 ; 00000020H
add r15d, eax
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 601 | 660 |
Terraspace/UASM:x64/Release/tbyte.asm:17 | add r13, rax
mov rax, r13
shr rax, 32 ; 00000020H
add r15d, eax
; 302 : x1 = (uint_64)(op1->m32[2]) * (uint_64)(op2->m32[1]);
imul rbx, r12
; 303 : add192( &r1, x1, 3 );
mov ecx, r8d
mov eax, ebx
add rcx, rax
shr rbx, 32 ; 00000020H
mov DWORD PTR r1$[rsp+12], ecx
shr rcx, 32 ; 000000... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 641 | 700 |
Terraspace/UASM:x64/Release/tbyte.asm:18 | add r9d, eax
test DWORD PTR r1$[rsp+8], -2147483648 ; 80000000H
je SHORT $LN179@multiply
mov eax, DWORD PTR r1$[rsp+16]
mov ecx, DWORD PTR r1$[rsp+12]
cmp edx, -1 ; ffffffffH
jne SHORT $LN3@multiply
cmp eax, edx
jne SHORT $LN3@multiply
cmp ecx, edx
jne SHORT $LN3@multiply
; 308 : r1.m32[3] =... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 681 | 740 |
Terraspace/UASM:x64/Release/tbyte.asm:19 | shr rax, 32 ; 00000020H
add edx, eax
mov eax, ecx
shr rax, 32 ; 00000020H
add edx, eax
jmp SHORT $LN176@multiply
$LN179@multiply:
mov ecx, DWORD PTR r1$[rsp+16]
mov r8d, DWORD PTR r1$[rsp+12]
$LN176@multiply:
; 315 : }
; 316 : }
; 317 : res->m32[0] = r1.m32[3];
mov rax, QWORD PTR re... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 721 | 780 |
Terraspace/UASM:x64/Release/tbyte.asm:20 | ; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\tbyte.c
; COMDAT add192
_TEXT SEGMENT
res$ = 8
x$ = 16
pos$ = 24
add192 PROC ; COMDAT
; 260 : uint_64 cy;
; 261 : int i;
; 262 :
; 263 : cy = (uint_32)x;
; 264 : for( i = pos; i < 6; i++ ) {
movsxd r10, r8d
mov r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 761 | 820 |
Terraspace/UASM:x64/Release/tbyte.asm:21 | ; 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 $LN21@add192
npad 7
$LL15@add192:
; 271 : cy += res->m32[i];
mov eax, DWORD PTR [r11+rcx*4]
add rdx, rax
; 272 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 801 | 860 |
Terraspace/UASM:x64/Release/tbyte.asm:22 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\tbyte.c
; COMDAT normalize
_TEXT SEGMENT
res$ = 8
normalize PROC ; COMDAT
; 222 : {
mov QWORD PTR [rsp+8], rbx
; 223 : int shft;
; 224 : int bs;
; 225 : int bs1;
; 226 :
; 227 : bs = bitsize64( res->m64[2] ) + 128;
mov rax, QWORD PTR [rcx+16]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 841 | 900 |
Terraspace/UASM:x64/Release/tbyte.asm:23 | xor r9d, r9d
cmp r10d, 128 ; 00000080H
jne SHORT $LN2@normalize
; 229 : res->m64[2] = res->m64[1];
mov rcx, QWORD PTR [rcx+8]
; 230 : res->m64[1] = res->m64[0];
; 231 : res->m64[0] = 0;
; 232 : bs = bitsize64( res->m64[2] ) + 64;
mov r10d, edx
mov rax, QWORD PTR [rbx]
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 881 | 940 |
Terraspace/UASM:x64/Release/tbyte.asm:24 | ; 235 : res->m64[2] = res->m64[1];
mov rax, QWORD PTR [rbx+8]
; 236 : res->m64[1] = res->m64[0];
; 237 : res->m64[0] = 0;
; 238 : bs = bitsize64( res->m64[2] );
mov r10d, edx
mov rcx, QWORD PTR [rbx]
mov QWORD PTR [rbx+16], rax
mov QWORD PTR [rbx+8], rcx
mov QWORD PTR [rbx],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 921 | 980 |
Terraspace/UASM:x64/Release/tbyte.asm:25 | ; 252 : return( bs - 192 );
; 253 : }
mov rbx, QWORD PTR [rsp+8]
ret 0
$LN4@normalize:
; 242 : }
; 243 : bs1 = bs % 64;
mov r11d, r10d
and r11d, -2147483585 ; ffffffff8000003fH
jge SHORT $LN43@normalize
dec r11d
or r11d, -64 ; ffffffffffffffc0H
inc r11d
$LN43@normalize:
; 244 : if ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 961 | 1,020 |
Terraspace/UASM:x64/Release/tbyte.asm:26 | or rdx, rax
shl r8, cl
mov QWORD PTR [rbx+16], rdx
; 249 : res->m64[1] |= res->m64[0] >> bs1;
mov ecx, r11d
mov rdx, QWORD PTR [rbx]
mov rax, rdx
shr rax, cl
; 250 : res->m64[0] <<= shft;
mov rcx, r9
or r8, rax
shl rdx, cl
mov QWORD PTR [rbx], rdx
mov QWORD PTR [rbx+8], r8
$LN5@normaliz... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Release/tbyte.asm:27 | ; 186 : memcpy( res, op, sizeof( union u96 ) );
movsd xmm0, QWORD PTR [rcx]
; 187 : bs = bitsize32( res->m32[2] ) + 64;
mov r11d, 32 ; 00000020H
movsd QWORD PTR [rdx], xmm0
mov r10, rdx
mov eax, DWORD PTR [rcx+8]
mov ecx, r11d
mov DWORD PTR [rdx+8], eax
npad 6
$LL11@U96LD:
test eax, eax
js SHO... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Release/tbyte.asm:28 | ; 191 : res->m32[0] = 0;
; 192 : bs = bitsize32( res->m32[2] ) + 32;
mov eax, r11d
mov DWORD PTR [r10+8], ecx
mov DWORD PTR [r10], edx
$LL17@U96LD:
test ecx, ecx
js SHORT $LN30@U96LD
add ecx, ecx
js SHORT $LN39@U96LD
add ecx, ecx
sub eax, 2
test eax, eax
jg SHORT $LL17@U96LD
jmp SHORT $LN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Release/tbyte.asm:29 | mov DWORD PTR [r10+8], ecx
mov DWORD PTR [r10], edx
$LL23@U96LD:
test ecx, ecx
js SHORT $LN3@U96LD
add ecx, ecx
js SHORT $LN40@U96LD
add ecx, ecx
sub eax, 2
test eax, eax
jg SHORT $LL23@U96LD
jmp SHORT $LN3@U96LD
$LN40@U96LD:
dec eax
$LN3@U96LD:
; 199 : }
; 200 : if( bs == 0 ) {
test eax, eax
j... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Release/tbyte.asm:30 | and eax, -2147483617 ; ffffffff8000001fH
jge SHORT $LN44@U96LD
dec eax
or eax, -32 ; ffffffffffffffe0H
inc eax
$LN44@U96LD:
; 205 : if( bs ) {
test eax, eax
je SHORT $LN45@U96LD
; 206 : shft = 32 - bs;
; 207 : res->m32[2] <<= shft;
; 208 : res->m32[2] |= res... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Release/tbyte.asm:31 | mov DWORD PTR [r10], r8d
mov DWORD PTR [r10+4], edx
$LN45@U96LD:
; 212 : }
; 213 : }
; 214 : return( 0 );
xor eax, eax
; 215 : }
ret 0
U96LD ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\tbyte.c
; COMDAT bitsize64
_TEXT SEGMENT
x$ = 8
bitsize64 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Release/tbyte.asm:32 | jne SHORT $LN11@bitsize64
add rcx, rcx
sub eax, 2
test eax, eax
jg SHORT $LL4@bitsize64
; 174 : }
; 175 : return( i );
; 176 : }
ret 0
$LN11@bitsize64:
; 172 : if( x & MAXUI64BIT ) break;
dec eax
$LN13@bitsize64:
; 174 : }
; 175 : return( i );
; 176 : }
ret 0
bitsize64 ENDP
_... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Release/tbyte.asm:33 | test ecx, ecx
js SHORT $LN13@bitsize32
; 159 : x <<= 1;
add ecx, ecx
; 158 : if( x & 0x80000000U ) break;
js SHORT $LN11@bitsize32
; 159 : x <<= 1;
add ecx, ecx
sub eax, 2
test eax, eax
jg SHORT $LL4@bitsize32
; 160 : }
; 161 : return( i );
; 162 : }
ret 0
$LN11@bit... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Release/tbyte.asm:34 | ; COMDAT add_check_u96_overflow
_TEXT SEGMENT
x$ = 8
c$ = 16
add_check_u96_overflow PROC ; COMDAT
; 134 : uint_64 cy;
; 135 : int i;
; 136 :
; 137 : if( cmp_u96_max( x ) > 0 ) {
mov eax, DWORD PTR [rcx+8]
mov r9, rcx
cmp eax, 429496729 ; 19999999H
ja SHORT $LN29@add_check_
jb SHORT $LN5@add... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Release/tbyte.asm:35 | shr rdx, 32 ; 00000020H
lea rcx, QWORD PTR [rax+rax*4]
mov eax, DWORD PTR [r9+8]
lea r8, QWORD PTR [rdx+rcx*2]
mov DWORD PTR [r9+4], r8d
lea ecx, DWORD PTR [rax+rax*4]
shr r8, 32 ; 00000020H
add ecx, ecx
add r8d, ecx
mov DWORD PTR [r9+8], r8d
; 145 : }
; 146 : return( 0 );
xor eax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Release/tbyte.asm:36 | ; 111 : if( x->m32[2] > 0x19999999UL ) {
mov eax, DWORD PTR [rcx+8]
cmp eax, 429496729 ; 19999999H
jbe SHORT $LN15@cmp_u96_ma
$LN18@cmp_u96_ma:
; 112 : return( 1 );
mov eax, 1
; 122 : return( -1 );
; 123 : } else {
; 124 : return( 0 );
; 125 : }
; 126 : }
ret 0
$L... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Release/tbyte.asm:37 | mov eax, DWORD PTR [rcx+4]
cmp eax, -1717986919 ; 99999999H
ja SHORT $LN18@cmp_u96_ma
; 116 : return( 1 );
; 117 : } else if( x->m32[1] < 0x99999999UL ) {
jb SHORT $LN19@cmp_u96_ma
; 118 : return( -1 );
; 119 : } else if( x->m32[0] > 0x99999998UL ) {
mov eax, DWORD PTR [rcx]
cmp e... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Release/tbyte.asm:38 | strtotb PROC
; 370 : {
$LN122:
mov rax, rsp
mov QWORD PTR [rax+16], rdx
push rbp
push rbx
mov rbp, rsp
sub rsp, 104 ; 00000068H
mov QWORD PTR [rax+32], rsi
mov rbx, rcx
; 371 : int sign = +1;
; 372 : int exp_sign = +1;
; 373 : int_32 exp_value;
; 374 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,481 | 1,540 |
Terraspace/UASM:x64/Release/tbyte.asm:39 | movsx ecx, BYTE PTR [rbx+1]
inc rbx
call isspace
test eax, eax
jne SHORT $LL2@strtotb
$LN3@strtotb:
; 382 : switch (*p) {
movzx eax, BYTE PTR [rbx]
cmp al, 43 ; 0000002bH
je SHORT $LN15@strtotb
cmp al, 45 ; 0000002dH
jne SHORT $LN16@strtotb
; 383 : case '-':
; 384 : sign = -1;
o... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,521 | 1,580 |
Terraspace/UASM:x64/Release/tbyte.asm:40 | $LN17@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 : while ( (unsigned int)(*p - '0') < 10u ) {
movsx r8d, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,561 | 1,620 |
Terraspace/UASM:x64/Release/tbyte.asm:41 | cmp r11d, 429496729 ; 19999999H
ja SHORT $LN113@strtotb
jb SHORT $LN44@strtotb
cmp edi, -1717986919 ; 99999999H
ja SHORT $LN113@strtotb
jb SHORT $LN44@strtotb
cmp r12d, -1717986919 ; 99999999H
jae SHORT $LN113@strtotb
$LN44@strtotb:
mov eax, r12d
lea rcx, QWORD PTR [rax+rax*4]
mov eax, edi
lea r12, QW... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,601 | 1,660 |
Terraspace/UASM:x64/Release/tbyte.asm:42 | mov r9d, r10d
mov r13, QWORD PTR value$[rbp-104]
jmp SHORT $LN24@strtotb
$LN22@strtotb:
; 411 : } else if( U96ISNOTZERO(value) ) {
cmp DWORD PTR value$[rbp-104], r10d
jne SHORT $LN25@strtotb
mov rax, r13
shr rax, 32 ; 00000020H
test eax, eax
jne SHORT $LN25@strtotb
test edx, edx
je SHORT $L... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,641 | 1,700 |
Terraspace/UASM:x64/Release/tbyte.asm:43 | ; 396 : exp1 = 0;
; 397 : exponent_tmp = 0;
; 398 : overflow = 0;
; 399 : while ( (unsigned int)(*p - '0') < 10u ) {
movsx r8d, BYTE PTR [rbx+1]
; 413 : }
; 414 : }
; 415 : p++;
inc rbx
mov eax, r8d
lea r14d, DWORD PTR [r8-48]
cmp r14d, 10
jb $LL6@strtotb
; 4... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,681 | 1,740 |
Terraspace/UASM:x64/Release/tbyte.asm:44 | $LL8@strtotb:
; 421 : if( overflow == 0 ) {
test r15d, r15d
jne SHORT $LN30@strtotb
; 422 : if( add_check_u96_overflow( &value_tmp, *p - '0' ) ) {
cmp r11d, 429496729 ; 19999999H
ja SHORT $LN115@strtotb
jb SHORT $LN65@strtotb
cmp edi, -1717986919 ; 99999999H
ja SHORT $LN115... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,721 | 1,780 |
Terraspace/UASM:x64/Release/tbyte.asm:45 | ; 426 : if( *p != '0' ) {
cmp r14b, 48 ; 00000030H
je SHORT $LN30@strtotb
; 427 : memcpy( &value, &value_tmp, sizeof( value ) );
movsd xmm0, QWORD PTR value_tmp$[rbp-104]
; 428 : exponent = exponent_tmp;
mov r9d, esi
movsd QWORD PTR val... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,761 | 1,820 |
Terraspace/UASM:x64/Release/tbyte.asm:46 | ; 433 : }
; 434 : }
; 435 : exp_value = 0;
; 436 : if ( (*p | 0x20) == 'e' ) {
movzx eax, BYTE PTR [rbx]
mov r15, QWORD PTR [rsp+64]
or al, 32 ; 00000020H
mov r14, QWORD PTR [rsp+72]
mov r12, QWORD PTR [rsp+88]
mov rdi, QWORD PTR [rsp+96]
mov rsi, QWORD PTR [rsp+152]
cmp al, 101 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,801 | 1,860 |
Terraspace/UASM:x64/Release/tbyte.asm:47 | ; 454 : ld->m = 0;
; 455 : ld->e = 0;
; 456 : SET_SIGN( ld, sign );
cmp DWORD PTR sign$1$[rbp-104], 0
mov rcx, QWORD PTR ld$[rbp-104]
mov QWORD PTR [rcx], r10
mov WORD PTR [rcx+8], r10w
jge SHORT $LN36@strtotb
mov eax, 32768 ; 00008000H
mov WORD PTR [rcx+8], ax
$LN36@st... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,841 | 1,900 |
Terraspace/UASM:x64/Release/tbyte.asm:48 | lea eax, DWORD PTR [rcx-48]
cmp eax, 10
jae SHORT $LN13@strtotb
npad 3
$LL12@strtotb:
; 460 : exp_value = 10 * exp_value + (*p++ - '0');
lea eax, DWORD PTR [r10-6]
lea eax, DWORD PTR [r10+rax*4]
lea r10d, DWORD PTR [rcx+rax*2]
movsx ecx, BYTE PTR [rbx+1]
lea rbx, QWORD PTR [rbx+1]
lea eax, DWORD... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,881 | 1,939 |
Terraspace/UASM:x64/Release/tbyte.asm:49 | cmp DWORD PTR sign$1$[rbp-104], 0
jge SHORT $LN38@strtotb
mov eax, 32768 ; 00008000H
or WORD PTR [rbx+8], ax
$LN38@strtotb:
; 467 : return( ld );
mov rax, rbx
; 468 : }
add rsp, 104 ; 00000068H
pop rbx
pop rbp
ret 0
strtotb ENDP
_TEXT ENDS
END | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 6f3fbcf9cb046d547464d502cbd998dad78cd55d | github | assembler | https://github.com/Terraspace/UASM/blob/6f3fbcf9cb046d547464d502cbd998dad78cd55d/x64/Release/tbyte.asm | 1,921 | 1,939 |
Terraspace/UASM:x64/Release/tbyte.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
COMM evex:BYTE
_DATA ENDS
CONST SEGMENT
tab_plus_exp DD 00H
DD 00H
DD 0a0000000H
DW 04002H
ORG $+2
DD 00H
DD 00H
DD 0c... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1 | 60 |
Terraspace/UASM:x64/Release/tbyte.asm:4 | 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 $+2
CONST ENDS
PUBLIC strtotb
E... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 121 | 180 |
Terraspace/UASM:x64/Release/tbyte.asm:5 | DD imagerel $LN122+754
DD imagerel $chain$7$strtotb
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$normalize DD imagerel normalize
DD imagerel normalize+313
DD imagerel $unwind$normalize
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$multiply DD imagerel multiply
DD imagerel multiply+811
DD imagerel $unwind$multip... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 161 | 220 |
Terraspace/UASM:x64/Release/tbyte.asm:6 | ; COMDAT xdata
xdata SEGMENT
$chain$2$TB_create DD 061421H
DD 0a7414H
DD 09540dH
DD 083405H
DD imagerel TB_create
DD imagerel TB_create+6
DD imagerel $unwind$TB_create
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$TB_create DD 020601H
DD 060025206H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$multiply DD 0a... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 201 | 260 |
Terraspace/UASM:x64/Release/tbyte.asm:7 | DD 0bc45fH
DD 08f40cH
DD 09e408H
DD 0ad404H
DD imagerel $LN122+16
DD imagerel $LN122+34
DD imagerel $chain$1$strtotb
$chain$6$strtotb DD 060021H
DD 08f400H
DD 09e400H
DD 0bc400H
DD imagerel $LN122+16
DD imagerel $LN122+34
DD imagerel $chain$1$strtotb
$chain$7$strtotb DD 021H
DD imagerel $LN122
DD imagerel... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 241 | 300 |
Terraspace/UASM:x64/Release/tbyte.asm:8 | ; 331 : int i;
; 332 : struct ELD res;
; 333 :
; 334 : if( exponent < 0 ) {
test edx, edx
jns SHORT $LN5@TB_create
; 335 : exponent = -exponent;
neg ebx
; 336 : tabExp = tab_minus_exp;
lea rbp, OFFSET FLAT:tab_minus_exp
; 337 : } else {
jmp SHORT $LN6@TB_create
$LN5@TB... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 281 | 340 |
Terraspace/UASM:x64/Release/tbyte.asm:10 | mov rbp, QWORD PTR [rsp+72]
mov rbx, QWORD PTR [rsp+64]
shl rcx, 32 ; 00000020H
add rax, rcx
mov WORD PTR [rsi+8], dx
; 353 : /* round result */
; 354 : if( res.m32[0] & 0x80000000U ) {
test DWORD PTR res$[rsp], -2147483648 ; 80000000H
mov QWORD PTR [rsi], rax
je SHORT $LN19@TB_create
; 355 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 361 | 420 |
Terraspace/UASM:x64/Release/tbyte.asm:11 | add rsp, 48 ; 00000030H
pop rsi
ret 0
$LN11@TB_create:
; 358 : } else {
; 359 : ld->m++;
inc rax
mov QWORD PTR [rsi], rax
$LN19@TB_create:
; 360 : }
; 361 : }
; 362 : return( 0 );
xor eax, eax
; 363 : }
add rsp, 48 ; 00000030H
pop rsi
ret 0
TB_create ENDP
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 401 | 460 |
Terraspace/UASM:x64/Release/tbyte.asm:12 | mov QWORD PTR [rsp+24], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 64 ; 00000040H
; 284 : uint_64 x1;
; 285 : union u192 r1;
; 286 : int_32 exp;
; 287 :
; 288 : exp = (int_32)(op1->e & 0x7fff) + (int_32)(op2->e & 0x7fff) - EXPONENT_BIAS + 1;
; 289 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 441 | 500 |
Terraspace/UASM:x64/Release/tbyte.asm:13 | imul rbx, rsi
mov QWORD PTR r1$[rsp], rax
and r9d, 32767 ; 00007fffH
mov r11d, DWORD PTR r1$[rsp+4]
add r8d, r9d
mov DWORD PTR exp$1$[rsp], r8d
mov eax, r12d
mov r8d, DWORD PTR [rcx+8]
imul rax, r14
mov QWORD PTR cy$3$[rsp], r8
mov QWORD PTR r1$[rsp+8], rax
mov eax, r13d
imul rax, r8
mov QWORD PTR r1$[r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 481 | 540 |
Terraspace/UASM:x64/Release/tbyte.asm:14 | mov r10, r9
; 295 : add192( &r1, x1, 1 );
mov r8d, r11d
shr r10, 32 ; 00000020H
add r10, rax
mov rax, r10
shr rax, 32 ; 00000020H
add r15d, eax
mov eax, ebx
add r8, rax
shr rbx, 32 ; 00000020H
mov DWORD PTR r1$[rsp+4], r8d
shr r8, 32 ; 00000020H
mov eax, edi
add r8, rax
mov eax, r9d... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 521 | 580 |
Terraspace/UASM:x64/Release/tbyte.asm:15 | ; 300 : x1 = (uint_64)(op1->m32[1]) * (uint_64)(op2->m32[2]);
imul r13, r14
mov r8, rbx
mov r10d, ebx
mov rbx, QWORD PTR cy$3$[rsp]
shr r8, 32 ; 00000020H
add r8, rax
mov eax, edx
mov r9, r8
shr r9, 32 ; 00000020H
add r9, rax
mov rax, r9
shr rax, 32 ; 00000020H
add r15d, eax
mov eax, r11... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 561 | 620 |
Terraspace/UASM:x64/Release/tbyte.asm:16 | add r15d, eax
mov eax, r9d
add rdx, rax
shr r9, 32 ; 00000020H
mov DWORD PTR r1$[rsp+8], edx
shr rdx, 32 ; 00000020H
mov eax, r11d
add rdx, rax
mov eax, r8d
mov rcx, rdx
shr rcx, 32 ; 00000020H
add rcx, rax
mov rax, rcx
shr rax, 32 ; 00000020H
add r15d, eax
mov eax, edx
add r9, rax
mov ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 601 | 660 |
Terraspace/UASM:x64/Release/tbyte.asm:17 | mov rax, r13
shr rax, 32 ; 00000020H
add r15d, eax
; 302 : x1 = (uint_64)(op1->m32[2]) * (uint_64)(op2->m32[1]);
imul rbx, r12
; 303 : add192( &r1, x1, 3 );
mov ecx, r8d
mov eax, ebx
add rcx, rax
shr rbx, 32 ; 00000020H
mov DWORD PTR r1$[rsp+12], ecx
shr rcx, 32 ; 00000020H
mov eax, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 641 | 700 |
Terraspace/UASM:x64/Release/tbyte.asm:18 | test DWORD PTR r1$[rsp+8], -2147483648 ; 80000000H
je SHORT $LN179@multiply
mov eax, DWORD PTR r1$[rsp+16]
mov ecx, DWORD PTR r1$[rsp+12]
cmp edx, -1 ; ffffffffH
jne SHORT $LN3@multiply
cmp eax, edx
jne SHORT $LN3@multiply
cmp ecx, edx
jne SHORT $LN3@multiply
; 308 : r1.m32[3] = 0;
xor r8d,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 681 | 740 |
Terraspace/UASM:x64/Release/tbyte.asm:19 | add edx, eax
mov eax, ecx
shr rax, 32 ; 00000020H
add edx, eax
jmp SHORT $LN176@multiply
$LN179@multiply:
mov ecx, DWORD PTR r1$[rsp+16]
mov r8d, DWORD PTR r1$[rsp+12]
$LN176@multiply:
; 315 : }
; 316 : }
; 317 : res->m32[0] = r1.m32[3];
mov rax, QWORD PTR res$[rsp]
; 318 : res->m3... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 721 | 780 |
Terraspace/UASM:x64/Release/tbyte.asm:20 | ; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\tbyte.c
; COMDAT add192
_TEXT SEGMENT
res$ = 8
x$ = 16
pos$ = 24
add192 PROC ; COMDAT
; 260 : uint_64 cy;
; 261 : int i;
; 262 :
; 263 : cy = (uint_32)x;
; 264 : for( i = pos; i < 6; i++ ) {
movsxd r10, r8d
mov r11, rcx
mov r9d, edx
cmp r10, 6... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 761 | 820 |
Terraspace/UASM:x64/Release/tbyte.asm:21 | ; 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 $LN21@add192
npad 7
$LL15@add192:
; 271 : cy += res->m32[i];
mov eax, DWORD PTR [r11+rcx*4]
add rdx, rax
; 272 : res->m32[i] =... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 801 | 860 |
Terraspace/UASM:x64/Release/tbyte.asm:22 | ; COMDAT normalize
_TEXT SEGMENT
res$ = 8
normalize PROC ; COMDAT
; 222 : {
mov QWORD PTR [rsp+8], 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 edx, 64 ; 00000040H
mov r10d, edx
mov rbx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 841 | 900 |
Terraspace/UASM:x64/Release/tbyte.asm:23 | cmp r10d, 128 ; 00000080H
jne SHORT $LN2@normalize
; 229 : res->m64[2] = res->m64[1];
mov rcx, QWORD PTR [rcx+8]
; 230 : res->m64[1] = res->m64[0];
; 231 : res->m64[0] = 0;
; 232 : bs = bitsize64( res->m64[2] ) + 64;
mov r10d, edx
mov rax, QWORD PTR [rbx]
mov QWORD PTR [r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 881 | 940 |
Terraspace/UASM:x64/Release/tbyte.asm:24 | mov rax, QWORD PTR [rbx+8]
; 236 : res->m64[1] = res->m64[0];
; 237 : res->m64[0] = 0;
; 238 : bs = bitsize64( res->m64[2] );
mov r10d, edx
mov rcx, QWORD PTR [rbx]
mov QWORD PTR [rbx+16], rax
mov QWORD PTR [rbx+8], rcx
mov QWORD PTR [rbx], r9
npad 2
$LL22@normalize:
test rax, r8
jn... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 921 | 980 |
Terraspace/UASM:x64/Release/tbyte.asm:25 | ; 253 : }
mov rbx, QWORD PTR [rsp+8]
ret 0
$LN4@normalize:
; 242 : }
; 243 : bs1 = bs % 64;
mov r11d, r10d
and r11d, -2147483585 ; ffffffff8000003fH
jge SHORT $LN43@normalize
dec r11d
or r11d, -64 ; ffffffffffffffc0H
inc r11d
$LN43@normalize:
; 244 : if ( bs1 ) {
test r11d, r11d
je S... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 961 | 1,020 |
Terraspace/UASM:x64/Release/tbyte.asm:26 | shl r8, cl
mov QWORD PTR [rbx+16], rdx
; 249 : res->m64[1] |= res->m64[0] >> bs1;
mov ecx, r11d
mov rdx, QWORD PTR [rbx]
mov rax, rdx
shr rax, cl
; 250 : res->m64[0] <<= shft;
mov rcx, r9
or r8, rax
shl rdx, cl
mov QWORD PTR [rbx], rdx
mov QWORD PTR [rbx+8], r8
$LN5@normalize:
; 251 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,001 | 1,060 |
Terraspace/UASM:x64/Release/tbyte.asm:27 | movsd xmm0, QWORD PTR [rcx]
; 187 : bs = bitsize32( res->m32[2] ) + 64;
mov r11d, 32 ; 00000020H
movsd QWORD PTR [rdx], xmm0
mov r10, rdx
mov eax, DWORD PTR [rcx+8]
mov ecx, r11d
mov DWORD PTR [rdx+8], eax
npad 6
$LL11@U96LD:
test eax, eax
js SHORT $LN29@U96LD
add eax, eax
js SHORT $LN38@U96LD
add... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,041 | 1,100 |
Terraspace/UASM:x64/Release/tbyte.asm:28 | ; 191 : res->m32[0] = 0;
; 192 : bs = bitsize32( res->m32[2] ) + 32;
mov eax, r11d
mov DWORD PTR [r10+8], ecx
mov DWORD PTR [r10], edx
$LL17@U96LD:
test ecx, ecx
js SHORT $LN30@U96LD
add ecx, ecx
js SHORT $LN39@U96LD
add ecx, ecx
sub eax, 2
test eax, eax
jg SHORT $LL17@U96LD
jmp SHORT $LN... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,081 | 1,140 |
Terraspace/UASM:x64/Release/tbyte.asm:29 | mov DWORD PTR [r10], edx
$LL23@U96LD:
test ecx, ecx
js SHORT $LN3@U96LD
add ecx, ecx
js SHORT $LN40@U96LD
add ecx, ecx
sub eax, 2
test eax, eax
jg SHORT $LL23@U96LD
jmp SHORT $LN3@U96LD
$LN40@U96LD:
dec eax
$LN3@U96LD:
; 199 : }
; 200 : if( bs == 0 ) {
test eax, eax
jne SHORT $LN4@U96LD
; 201 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,121 | 1,180 |
Terraspace/UASM:x64/Release/tbyte.asm:30 | jge SHORT $LN44@U96LD
dec eax
or eax, -32 ; ffffffffffffffe0H
inc eax
$LN44@U96LD:
; 205 : if( bs ) {
test eax, eax
je SHORT $LN45@U96LD
; 206 : shft = 32 - bs;
; 207 : res->m32[2] <<= shft;
; 208 : res->m32[2] |= res->m32[1] >> bs;
mov r9d, DWORD PTR [r10+4]... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,161 | 1,220 |
Terraspace/UASM:x64/Release/tbyte.asm:31 | mov DWORD PTR [r10+4], edx
$LN45@U96LD:
; 212 : }
; 213 : }
; 214 : return( 0 );
xor eax, eax
; 215 : }
ret 0
U96LD ENDP
_TEXT ENDS
; Function compile flags: /Ogtpy
; File d:\hjwasm\hjwasm2.13.1s\hjwasm2.13.1s\tbyte.c
; COMDAT bitsize64
_TEXT SEGMENT
x$ = 8
bitsize64 PROC ; COMDAT
; 169 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,201 | 1,260 |
Terraspace/UASM:x64/Release/tbyte.asm:32 | add rcx, rcx
sub eax, 2
test eax, eax
jg SHORT $LL4@bitsize64
; 174 : }
; 175 : return( i );
; 176 : }
ret 0
$LN11@bitsize64:
; 172 : if( x & MAXUI64BIT ) break;
dec eax
$LN13@bitsize64:
; 174 : }
; 175 : return( i );
; 176 : }
ret 0
bitsize64 ENDP
_TEXT ENDS
; Function compil... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,241 | 1,300 |
Terraspace/UASM:x64/Release/tbyte.asm:33 | test ecx, ecx
js SHORT $LN13@bitsize32
; 159 : x <<= 1;
add ecx, ecx
; 158 : if( x & 0x80000000U ) break;
js SHORT $LN11@bitsize32
; 159 : x <<= 1;
add ecx, ecx
sub eax, 2
test eax, eax
jg SHORT $LL4@bitsize32
; 160 : }
; 161 : return( i );
; 162 : }
ret 0
$LN11@bit... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,281 | 1,340 |
Terraspace/UASM:x64/Release/tbyte.asm:34 | _TEXT SEGMENT
x$ = 8
c$ = 16
add_check_u96_overflow PROC ; COMDAT
; 134 : uint_64 cy;
; 135 : int i;
; 136 :
; 137 : if( cmp_u96_max( x ) > 0 ) {
mov eax, DWORD PTR [rcx+8]
mov r9, rcx
cmp eax, 429496729 ; 19999999H
ja SHORT $LN29@add_check_
jb SHORT $LN5@add_check_
mov eax, DWORD PTR [rcx... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,321 | 1,380 |
Terraspace/UASM:x64/Release/tbyte.asm:35 | shr rdx, 32 ; 00000020H
lea rcx, QWORD PTR [rax+rax*4]
mov eax, DWORD PTR [r9+8]
lea r8, QWORD PTR [rdx+rcx*2]
mov DWORD PTR [r9+4], r8d
lea ecx, DWORD PTR [rax+rax*4]
shr r8, 32 ; 00000020H
add ecx, ecx
add r8d, ecx
mov DWORD PTR [r9+8], r8d
; 145 : }
; 146 : return( 0 );
xor eax,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,361 | 1,420 |
Terraspace/UASM:x64/Release/tbyte.asm:36 | mov eax, DWORD PTR [rcx+8]
cmp eax, 429496729 ; 19999999H
jbe SHORT $LN15@cmp_u96_ma
$LN18@cmp_u96_ma:
; 112 : return( 1 );
mov eax, 1
; 122 : return( -1 );
; 123 : } else {
; 124 : return( 0 );
; 125 : }
; 126 : }
ret 0
$LN15@cmp_u96_ma:
; 113 : } else if( x->m32[... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,401 | 1,460 |
Terraspace/UASM:x64/Release/tbyte.asm:37 | cmp eax, -1717986919 ; 99999999H
ja SHORT $LN18@cmp_u96_ma
; 116 : return( 1 );
; 117 : } else if( x->m32[1] < 0x99999999UL ) {
jb SHORT $LN19@cmp_u96_ma
; 118 : return( -1 );
; 119 : } else if( x->m32[0] > 0x99999998UL ) {
mov eax, DWORD PTR [rcx]
cmp eax, -1717986920 ; 99999998... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,441 | 1,500 |
Terraspace/UASM:x64/Release/tbyte.asm:38 | ; 370 : {
$LN122:
mov rax, rsp
mov QWORD PTR [rax+16], rdx
push rbp
push rbx
mov rbp, rsp
sub rsp, 104 ; 00000068H
mov QWORD PTR [rax+32], rsi
mov rbx, rcx
; 371 : int sign = +1;
; 372 : int exp_sign = +1;
; 373 : int_32 exp_value;
; 374 : int ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,481 | 1,540 |
Terraspace/UASM:x64/Release/tbyte.asm:39 | inc rbx
call isspace
test eax, eax
jne SHORT $LL2@strtotb
$LN3@strtotb:
; 382 : switch (*p) {
movzx eax, BYTE PTR [rbx]
cmp al, 43 ; 0000002bH
je SHORT $LN15@strtotb
cmp al, 45 ; 0000002dH
jne SHORT $LN16@strtotb
; 383 : case '-':
; 384 : sign = -1;
or esi, -1
mov DWORD PTR sign... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,521 | 1,580 |
Terraspace/UASM:x64/Release/tbyte.asm:40 | ; 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 : while ( (unsigned int)(*p - '0') < 10u ) {
movsx r8d, BYTE PTR [rbx]
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,561 | 1,620 |
Terraspace/UASM:x64/Release/tbyte.asm:42 | mov r13, QWORD PTR value$[rbp-104]
jmp SHORT $LN24@strtotb
$LN22@strtotb:
; 411 : } else if( U96ISNOTZERO(value) ) {
cmp DWORD PTR value$[rbp-104], r10d
jne SHORT $LN25@strtotb
mov rax, r13
shr rax, 32 ; 00000020H
test eax, eax
jne SHORT $LN25@strtotb
test edx, edx
je SHORT $LN24@strtotb
; ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,641 | 1,700 |
Terraspace/UASM:x64/Release/tbyte.asm:43 | ; 397 : exponent_tmp = 0;
; 398 : overflow = 0;
; 399 : while ( (unsigned int)(*p - '0') < 10u ) {
movsx r8d, BYTE PTR [rbx+1]
; 413 : }
; 414 : }
; 415 : p++;
inc rbx
mov eax, r8d
lea r14d, DWORD PTR [r8-48]
cmp r14d, 10
jb $LL6@strtotb
; 409 : m... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,681 | 1,740 |
Terraspace/UASM:x64/Release/tbyte.asm:44 | ; 421 : if( overflow == 0 ) {
test r15d, r15d
jne SHORT $LN30@strtotb
; 422 : if( add_check_u96_overflow( &value_tmp, *p - '0' ) ) {
cmp r11d, 429496729 ; 19999999H
ja SHORT $LN115@strtotb
jb SHORT $LN65@strtotb
cmp edi, -1717986919 ; 99999999H
ja SHORT $LN115@strtotb
jb SH... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,721 | 1,780 |
Terraspace/UASM:x64/Release/tbyte.asm:45 | cmp r14b, 48 ; 00000030H
je SHORT $LN30@strtotb
; 427 : memcpy( &value, &value_tmp, sizeof( value ) );
movsd xmm0, QWORD PTR value_tmp$[rbp-104]
; 428 : exponent = exponent_tmp;
mov r9d, esi
movsd QWORD PTR value$[rbp-104], xmm0
mov DWORD PTR value$[rbp-96],... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,761 | 1,820 |
Terraspace/UASM:x64/Release/tbyte.asm:46 | ; 434 : }
; 435 : exp_value = 0;
; 436 : if ( (*p | 0x20) == 'e' ) {
movzx eax, BYTE PTR [rbx]
mov r15, QWORD PTR [rsp+64]
or al, 32 ; 00000020H
mov r14, QWORD PTR [rsp+72]
mov r12, QWORD PTR [rsp+88]
mov rdi, QWORD PTR [rsp+96]
mov rsi, QWORD PTR [rsp+152]
cmp al, 101 ; 00000065H
jne... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,801 | 1,860 |
Terraspace/UASM:x64/Release/tbyte.asm:47 | ; 455 : ld->e = 0;
; 456 : SET_SIGN( ld, sign );
cmp DWORD PTR sign$1$[rbp-104], 0
mov rcx, QWORD PTR ld$[rbp-104]
mov QWORD PTR [rcx], r10
mov WORD PTR [rcx+8], r10w
jge SHORT $LN36@strtotb
mov eax, 32768 ; 00008000H
mov WORD PTR [rcx+8], ax
$LN36@strtotb:
; 457 : ret... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,841 | 1,900 |
Terraspace/UASM:x64/Release/tbyte.asm:48 | cmp eax, 10
jae SHORT $LN13@strtotb
npad 3
$LL12@strtotb:
; 460 : exp_value = 10 * exp_value + (*p++ - '0');
lea eax, DWORD PTR [r10-6]
lea eax, DWORD PTR [r10+rax*4]
lea r10d, DWORD PTR [rcx+rax*2]
movsx ecx, BYTE PTR [rbx+1]
lea rbx, QWORD PTR [rbx+1]
lea eax, DWORD PTR [rcx-48]
cmp eax, 10
j... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,881 | 1,938 |
Terraspace/UASM:x64/Release/tbyte.asm:49 | jge SHORT $LN38@strtotb
mov eax, 32768 ; 00008000H
or WORD PTR [rbx+8], ax
$LN38@strtotb:
; 467 : return( ld );
mov rax, rbx
; 468 : }
add rsp, 104 ; 00000068H
pop rbx
pop rbp
ret 0
strtotb ENDP
_TEXT ENDS
END | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 17413bab2400c29ab34e6d2fd2427efa2c6eb1d3 | github | assembler | https://github.com/Terraspace/UASM/blob/17413bab2400c29ab34e6d2fd2427efa2c6eb1d3/x64/Release/tbyte.asm | 1,921 | 1,938 |
Terraspace/UASM:x64/Release/tbyte.asm:1 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23026.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM decoflags:BYTE
COMM broadflags:BYTE
_DATA ENDS
CONST SEGMENT
tab_plus_exp DD 00H
DD 00H
DD 0a0000000H
DW 04002H
ORG $+2
DD 00H
DD 00H
DD 0c8000000H
DW 04... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 1 | 60 |
Terraspace/UASM:x64/Release/tbyte.asm:2 | 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 $+2
DD 0650d3d17H
DD 081750c17H
DD 0c97675... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 41 | 100 |
Terraspace/UASM:x64/Release/tbyte.asm:3 | 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
DW 03fc9H
ORG $+2
DD 067de18e7H
DD 0453994baH
DD 0cfb11e... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 81 | 140 |
Terraspace/UASM:x64/Release/tbyte.asm:4 | 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 $+2
CONST ENDS
PUBLIC strtotb
EXTRN isspace:PR... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 121 | 180 |
Terraspace/UASM:x64/Release/tbyte.asm:5 | DD imagerel $chain$7$strtotb
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$normalize DD imagerel normalize
DD imagerel normalize+313
DD imagerel $unwind$normalize
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$multiply DD imagerel multiply
DD imagerel multiply+811
DD imagerel $unwind$multiply
pdata ENDS
; COMDAT p... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 161 | 220 |
Terraspace/UASM:x64/Release/tbyte.asm:6 | xdata SEGMENT
$chain$2$TB_create DD 061421H
DD 0a7414H
DD 09540dH
DD 083405H
DD imagerel TB_create
DD imagerel TB_create+6
DD imagerel $unwind$TB_create
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$TB_create DD 020601H
DD 060025206H
xdata ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$multiply DD 0a1901H
DD 01334... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 201 | 260 |
Terraspace/UASM:x64/Release/tbyte.asm:7 | DD 08f40cH
DD 09e408H
DD 0ad404H
DD imagerel $LN122+16
DD imagerel $LN122+34
DD imagerel $chain$1$strtotb
$chain$6$strtotb DD 060021H
DD 08f400H
DD 09e400H
DD 0bc400H
DD imagerel $LN122+16
DD imagerel $LN122+34
DD imagerel $chain$1$strtotb
$chain$7$strtotb DD 021H
DD imagerel $LN122
DD imagerel $LN122+16
... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 241 | 300 |
Terraspace/UASM:x64/Release/tbyte.asm:8 | ; 332 : struct ELD res;
; 333 :
; 334 : if( exponent < 0 ) {
test edx, edx
jns SHORT $LN5@TB_create
; 335 : exponent = -exponent;
neg ebx
; 336 : tabExp = tab_minus_exp;
lea rbp, OFFSET FLAT:tab_minus_exp
; 337 : } else {
jmp SHORT $LN6@TB_create
$LN5@TB_create:
; 338 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 281 | 340 |
Terraspace/UASM:x64/Release/tbyte.asm:9 | je SHORT $LN7@TB_create
; 343 : multiply(&res, tabExp + i, &res);
movsxd rdx, edi
lea r8, QWORD PTR res$[rsp]
shl rdx, 4
lea rcx, QWORD PTR res$[rsp]
add rdx, rbp
call multiply
$LN7@TB_create:
; 344 : }
; 345 : exponent >>= 1;
sar ebx, 1
; 346 : if( exponent == 0 ) br... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 321 | 380 |
Terraspace/UASM:x64/Release/tbyte.asm:10 | mov rbx, QWORD PTR [rsp+64]
shl rcx, 32 ; 00000020H
add rax, rcx
mov WORD PTR [rsi+8], dx
; 353 : /* round result */
; 354 : if( res.m32[0] & 0x80000000U ) {
test DWORD PTR res$[rsp], -2147483648 ; 80000000H
mov QWORD PTR [rsi], rax
je SHORT $LN19@TB_create
; 355 : if( ld->m == MAXUI64 )... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 361 | 420 |
Terraspace/UASM:x64/Release/tbyte.asm:11 | pop rsi
ret 0
$LN11@TB_create:
; 358 : } else {
; 359 : ld->m++;
inc rax
mov QWORD PTR [rsi], rax
$LN19@TB_create:
; 360 : }
; 361 : }
; 362 : return( 0 );
xor eax, eax
; 363 : }
add rsp, 48 ; 00000030H
pop rsi
ret 0
TB_create ENDP
_TEXT ENDS
; Function compile... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 401 | 460 |
Terraspace/UASM:x64/Release/tbyte.asm:12 | push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 64 ; 00000040H
; 284 : uint_64 x1;
; 285 : union u192 r1;
; 286 : int_32 exp;
; 287 :
; 288 : exp = (int_32)(op1->e & 0x7fff) + (int_32)(op2->e & 0x7fff) - EXPONENT_BIAS + 1;
; 289 : r1.m64[0] = (uint_64)(op1->... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 441 | 500 |
Terraspace/UASM:x64/Release/tbyte.asm:13 | mov QWORD PTR r1$[rsp], rax
and r9d, 32767 ; 00007fffH
mov r11d, DWORD PTR r1$[rsp+4]
add r8d, r9d
mov DWORD PTR exp$1$[rsp], r8d
mov eax, r12d
mov r8d, DWORD PTR [rcx+8]
imul rax, r14
mov QWORD PTR cy$3$[rsp], r8
mov QWORD PTR r1$[rsp+8], rax
mov eax, r13d
imul rax, r8
mov QWORD PTR r1$[rsp+16], rax
mo... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 481 | 540 |
Terraspace/UASM:x64/Release/tbyte.asm:14 | ; 295 : add192( &r1, x1, 1 );
mov r8d, r11d
shr r10, 32 ; 00000020H
add r10, rax
mov rax, r10
shr rax, 32 ; 00000020H
add r15d, eax
mov eax, ebx
add r8, rax
shr rbx, 32 ; 00000020H
mov DWORD PTR r1$[rsp+4], r8d
shr r8, 32 ; 00000020H
mov eax, edi
add r8, rax
mov eax, r9d
mov rcx, r8... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 521 | 580 |
Terraspace/UASM:x64/Release/tbyte.asm:15 | imul r13, r14
mov r8, rbx
mov r10d, ebx
mov rbx, QWORD PTR cy$3$[rsp]
shr r8, 32 ; 00000020H
add r8, rax
mov eax, edx
mov r9, r8
shr r9, 32 ; 00000020H
add r9, rax
mov rax, r9
shr rax, 32 ; 00000020H
add r15d, eax
mov eax, r11d
add r10, rax
shr r11, 32 ; 00000020H
mov eax, r8d
mov rcx, ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 561 | 620 |
Terraspace/UASM:x64/Release/tbyte.asm:16 | mov eax, r9d
add rdx, rax
shr r9, 32 ; 00000020H
mov DWORD PTR r1$[rsp+8], edx
shr rdx, 32 ; 00000020H
mov eax, r11d
add rdx, rax
mov eax, r8d
mov rcx, rdx
shr rcx, 32 ; 00000020H
add rcx, rax
mov rax, rcx
shr rax, 32 ; 00000020H
add r15d, eax
mov eax, edx
add r9, rax
mov eax, ecx
mov r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 601 | 660 |
Terraspace/UASM:x64/Release/tbyte.asm:17 | shr rax, 32 ; 00000020H
add r15d, eax
; 302 : x1 = (uint_64)(op1->m32[2]) * (uint_64)(op2->m32[1]);
imul rbx, r12
; 303 : add192( &r1, x1, 3 );
mov ecx, r8d
mov eax, ebx
add rcx, rax
shr rbx, 32 ; 00000020H
mov DWORD PTR r1$[rsp+12], ecx
shr rcx, 32 ; 00000020H
mov eax, r13d
add rcx,... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 641 | 700 |
Terraspace/UASM:x64/Release/tbyte.asm:18 | je SHORT $LN179@multiply
mov eax, DWORD PTR r1$[rsp+16]
mov ecx, DWORD PTR r1$[rsp+12]
cmp edx, -1 ; ffffffffH
jne SHORT $LN3@multiply
cmp eax, edx
jne SHORT $LN3@multiply
cmp ecx, edx
jne SHORT $LN3@multiply
; 308 : r1.m32[3] = 0;
xor r8d, r8d
; 309 : r1.m32[4] = 0;
; 310 : ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 681 | 740 |
Terraspace/UASM:x64/Release/tbyte.asm:19 | mov eax, ecx
shr rax, 32 ; 00000020H
add edx, eax
jmp SHORT $LN176@multiply
$LN179@multiply:
mov ecx, DWORD PTR r1$[rsp+16]
mov r8d, DWORD PTR r1$[rsp+12]
$LN176@multiply:
; 315 : }
; 316 : }
; 317 : res->m32[0] = r1.m32[3];
mov rax, QWORD PTR res$[rsp]
; 318 : res->m32[1] = r1.m32[... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 721 | 780 |
Terraspace/UASM:x64/Release/tbyte.asm:20 | ; COMDAT add192
_TEXT SEGMENT
res$ = 8
x$ = 16
pos$ = 24
add192 PROC ; COMDAT
; 260 : uint_64 cy;
; 261 : int i;
; 262 :
; 263 : cy = (uint_32)x;
; 264 : for( i = pos; i < 6; i++ ) {
movsxd r10, r8d
mov r11, rcx
mov r9d, edx
cmp r10, 6
jge SHORT $LN3@add192
npad 1
$LL13@add192:
; 265 ... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 761 | 820 |
Terraspace/UASM:x64/Release/tbyte.asm:21 | ; 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 $LN21@add192
npad 7
$LL15@add192:
; 271 : cy += res->m32[i];
mov eax, DWORD PTR [r11+rcx*4]
add rdx, rax
; 272 : res->m32[i] = cy;
mov DWORD PTR [r11+r... | x86_64 | masm-like | handwritten | Terraspace/UASM | x64/Release/tbyte.asm | Apache-2.0 | 303dca37c78b38fea8f66038909762890fd6232e | github | assembler | https://github.com/Terraspace/UASM/blob/303dca37c78b38fea8f66038909762890fd6232e/x64/Release/tbyte.asm | 801 | 860 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.