projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Move tests from rosapps to rostests
[reactos.git]
/
rostests
/
tests
/
zwcontinue
/
i386
/
zwcontinue.asm
1
; cpu 486
2
segment .text use32
3
4
extern _check
5
6
global _continuePoint
7
_continuePoint:
8
push ss
9
push dword 0
10
pushfd
11
push cs
12
push dword _continuePoint
13
push ebp
14
15
push eax
16
push ecx
17
push edx
18
push ebx
19
push esi
20
push edi
21
22
push ds
23
push es
24
push fs
25
push gs
26
27
; TODO: floating point state
28
sub esp, 70h
29
30
; Debug registers
31
sub esp, 18h
32
33
push dword 00010007h
34
35
; Fill the Esp field
36
lea eax, [esp+0CCh]
37
lea ecx, [esp+0C4h]
38
mov [ecx], eax
39
40
; Call the function that will compare the current context with the expected one
41
cld
42
push esp
43
call _check
44
45
; check() must not return
46
int 3
47
48
; EOF