-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
/
_longjmp.win64.S
29 lines (29 loc) · 895 Bytes
/
_longjmp.win64.S
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#define CNAME jl_longjmp
#include "ENTRY.amd64.h"
mov rbx,QWORD PTR [rcx+8]
mov rsp,QWORD PTR [rcx+16]
mov rbp,QWORD PTR [rcx+24]
mov rsi,QWORD PTR [rcx+32]
mov rdi,QWORD PTR [rcx+40]
mov r12,QWORD PTR [rcx+48]
mov r13,QWORD PTR [rcx+56]
mov r14,QWORD PTR [rcx+64]
mov r15,QWORD PTR [rcx+72]
mov r8, QWORD PTR [rcx+80]
movaps xmm6,XMMWORD PTR [rcx+96]
movaps xmm7,XMMWORD PTR [rcx+112]
movaps xmm8,XMMWORD PTR [rcx+128]
movaps xmm9,XMMWORD PTR [rcx+144]
movaps xmm10,XMMWORD PTR [rcx+160]
movaps xmm11,XMMWORD PTR [rcx+176]
movaps xmm12,XMMWORD PTR [rcx+192]
movaps xmm13,XMMWORD PTR [rcx+208]
movaps xmm14,XMMWORD PTR [rcx+224]
movaps xmm15,XMMWORD PTR [rcx+240]
mov eax,edx
test eax,eax
jne a
inc eax
a: mov QWORD PTR [rsp],r8
ret
#include "END.h"