summaryrefslogtreecommitdiff
path: root/dte-asm.S
diff options
context:
space:
mode:
authorPixel <Pixel>2002-05-27 16:27:51 +0000
committerPixel <Pixel>2002-05-27 16:27:51 +0000
commitaaa76739c3d6dbeb33b1f1027ec93c260fe55b35 (patch)
tree19789de0b6802c15453a771484d338b96e6c493c /dte-asm.S
parent2238d7bdbbda2a107ee14429f4e477183dacb684 (diff)
DTE rhaaaaaaa
Diffstat (limited to 'dte-asm.S')
-rw-r--r--dte-asm.S10
1 files changed, 9 insertions, 1 deletions
diff --git a/dte-asm.S b/dte-asm.S
index 2491826..0b7eea2 100644
--- a/dte-asm.S
+++ b/dte-asm.S
@@ -66,6 +66,7 @@ innerjump:
andl $0xffff, %edx
testb $0xff, (%edi, %edx)
+ jp twice
jnz invalid
incl (%ebx, %edx, 4)
movl (%ebx, %edx, 4), %eax
@@ -79,7 +80,8 @@ invalid:
decl %ecx
jnz loop
-
+
+quit:
pop %edi
pop %esi
pop %edx
@@ -87,3 +89,9 @@ invalid:
pop %ebx
pop %eax
ret
+
+twice:
+ decl %ecx
+ jnz invalid
+ pop %edx
+ jmp quit