Use "jmp near".
committer: mfx <mfx> 969274074 +0000
This commit is contained in:
+2
-2
@@ -28,7 +28,7 @@
|
|||||||
%define COM 1
|
%define COM 1
|
||||||
%define CJT16 1
|
%define CJT16 1
|
||||||
%define jmps jmp short
|
%define jmps jmp short
|
||||||
%define jmpl jmp word
|
%define jmpn jmp near
|
||||||
%include "macros.ash"
|
%include "macros.ash"
|
||||||
|
|
||||||
BITS 16
|
BITS 16
|
||||||
@@ -63,7 +63,7 @@ mem_ok:
|
|||||||
%ifdef __COMCALLT__
|
%ifdef __COMCALLT__
|
||||||
push di
|
push di
|
||||||
%endif; __COMMAIN2__
|
%endif; __COMMAIN2__
|
||||||
jmpl .1+'JM'
|
jmpn .1+'JM'
|
||||||
.1:
|
.1:
|
||||||
%include "header.ash"
|
%include "header.ash"
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define jmps jmp short
|
%define jmps jmp short
|
||||||
%define jmpl jmp dword
|
%define jmpn jmp near
|
||||||
%include "macros.ash"
|
%include "macros.ash"
|
||||||
|
|
||||||
BITS 32
|
BITS 32
|
||||||
|
|||||||
+1
-1
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
%define EXE
|
%define EXE
|
||||||
%define jmps jmp short
|
%define jmps jmp short
|
||||||
%define jmpl jmp word
|
%define jmpn jmp near
|
||||||
|
|
||||||
BITS 16
|
BITS 16
|
||||||
ORG 0
|
ORG 0
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
SECTION .text
|
SECTION .text
|
||||||
|
|
||||||
%define jmps jmp short
|
%define jmps jmp short
|
||||||
%define jmpl jmp dword
|
%define jmpn jmp near
|
||||||
|
|
||||||
; defines for ident.ash and n2b_d32.ash
|
; defines for ident.ash and n2b_d32.ash
|
||||||
%ifdef SMALL
|
%ifdef SMALL
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
SECTION .text
|
SECTION .text
|
||||||
|
|
||||||
%define jmps jmp short
|
%define jmps jmp short
|
||||||
%define jmpl jmp dword
|
%define jmpn jmp near
|
||||||
|
|
||||||
; defines for ident.ash and n2b_d32.ash
|
; defines for ident.ash and n2b_d32.ash
|
||||||
%ifdef SMALL
|
%ifdef SMALL
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
SECTION .text
|
SECTION .text
|
||||||
|
|
||||||
%define jmps jmp short
|
%define jmps jmp short
|
||||||
%define jmpl jmp dword
|
%define jmpn jmp near
|
||||||
|
|
||||||
; defines for ident.ash and n2b_d32.ash
|
; defines for ident.ash and n2b_d32.ash
|
||||||
%ifdef SMALL
|
%ifdef SMALL
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
SECTION .text
|
SECTION .text
|
||||||
|
|
||||||
%define jmps jmp short
|
%define jmps jmp short
|
||||||
%define jmpl jmp dword
|
%define jmpn jmp near
|
||||||
|
|
||||||
; defines for ident.ash and n2b_d32.ash
|
; defines for ident.ash and n2b_d32.ash
|
||||||
%ifdef SMALL
|
%ifdef SMALL
|
||||||
|
|||||||
+3
-3
@@ -29,7 +29,7 @@
|
|||||||
%define COM 0
|
%define COM 0
|
||||||
%define CJT16 1
|
%define CJT16 1
|
||||||
%define jmps jmp short
|
%define jmps jmp short
|
||||||
%define jmpl jmp word
|
%define jmpn jmp near
|
||||||
%include "macros.ash"
|
%include "macros.ash"
|
||||||
|
|
||||||
BITS 16
|
BITS 16
|
||||||
@@ -81,7 +81,7 @@ strategy:
|
|||||||
%ifdef __SYSCALLT__
|
%ifdef __SYSCALLT__
|
||||||
push di
|
push di
|
||||||
%endif; __SYSMAIN3__
|
%endif; __SYSMAIN3__
|
||||||
jmpl .1+'JM' ; jump to the decompressor
|
jmpn .1+'JM' ; jump to the decompressor
|
||||||
.1:
|
.1:
|
||||||
%include "header.ash"
|
%include "header.ash"
|
||||||
|
|
||||||
@@ -114,7 +114,7 @@ cutpoint:
|
|||||||
pop bx
|
pop bx
|
||||||
pop ax
|
pop ax
|
||||||
%endif; __SYSJUMP1__
|
%endif; __SYSJUMP1__
|
||||||
jmpl eof+'JO'
|
jmpn eof+'JO'
|
||||||
eof:
|
eof:
|
||||||
; __SYSTHEND__
|
; __SYSTHEND__
|
||||||
section .data
|
section .data
|
||||||
|
|||||||
+3
-3
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define jmps jmp short
|
%define jmps jmp short
|
||||||
%define jmpl jmp dword
|
%define jmpn jmp near
|
||||||
%include "macros.ash"
|
%include "macros.ash"
|
||||||
|
|
||||||
BITS 32
|
BITS 32
|
||||||
@@ -57,7 +57,7 @@ start:
|
|||||||
%ifdef __TMTCALT1__
|
%ifdef __TMTCALT1__
|
||||||
push edi
|
push edi
|
||||||
%endif; __TMTMAIN2__
|
%endif; __TMTMAIN2__
|
||||||
jmpl .1 + 'JMPD'
|
jmpn .1+'JMPD'
|
||||||
.1:
|
.1:
|
||||||
%include "header.ash"
|
%include "header.ash"
|
||||||
|
|
||||||
@@ -94,7 +94,7 @@ cutpoint:
|
|||||||
|
|
||||||
; =============
|
; =============
|
||||||
; __TMTJUMP1__
|
; __TMTJUMP1__
|
||||||
jmpl .1+'JMPO'
|
jmpn .1+'JMPO'
|
||||||
.1:
|
.1:
|
||||||
eof:
|
eof:
|
||||||
; __TMTHEEND__
|
; __TMTHEEND__
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define jmps jmp short
|
%define jmps jmp short
|
||||||
%define jmpl jmp dword
|
%define jmpn jmp near
|
||||||
%define jnzn jnz near
|
%define jnzn jnz near
|
||||||
%define jbn jb near
|
%define jbn jb near
|
||||||
%include "macros.ash"
|
%include "macros.ash"
|
||||||
@@ -205,7 +205,7 @@ reloc_end_jmp:
|
|||||||
inc eax
|
inc eax
|
||||||
retn 0x0C
|
retn 0x0C
|
||||||
%else; __PEDOJUMP__
|
%else; __PEDOJUMP__
|
||||||
jmpl .1+'JMPO'
|
jmpn .1+'JMPO'
|
||||||
.1:
|
.1:
|
||||||
%endif; __PEDUMMY3__
|
%endif; __PEDUMMY3__
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define jmps jmp short
|
%define jmps jmp short
|
||||||
%define jmpl jmp dword
|
%define jmpn jmp near
|
||||||
%include "macros.ash"
|
%include "macros.ash"
|
||||||
|
|
||||||
BITS 32
|
BITS 32
|
||||||
@@ -65,7 +65,7 @@ start:
|
|||||||
pop edi
|
pop edi
|
||||||
or ebp, byte -1
|
or ebp, byte -1
|
||||||
push edi
|
push edi
|
||||||
jmpl .1 + 'JMPD'
|
jmpn .1+'JMPD'
|
||||||
.1:
|
.1:
|
||||||
%include "header.ash"
|
%include "header.ash"
|
||||||
|
|
||||||
@@ -125,7 +125,7 @@ cutpoint:
|
|||||||
pop es
|
pop es
|
||||||
lea esp, [ebp + 'ESP0']
|
lea esp, [ebp + 'ESP0']
|
||||||
|
|
||||||
jmpl .1+'JMPO'
|
jmpn .1+'JMPO'
|
||||||
.1:
|
.1:
|
||||||
|
|
||||||
; =============
|
; =============
|
||||||
|
|||||||
Reference in New Issue
Block a user