Re: Jumping into middle of instruction
- From: "Wolfgang Kern" <spamtrap@xxxxxxxxxx>
- Date: Wed, 27 Feb 2008 14:20:10 +0100
mybwpp asked:
Can we categorize this technique of jumping into middle of
instructions, as 'self modifying code'?
No, SMC is a different story.
start:
; this works only in true RealMode!
cmp al,80h
jns L1:
mov word CS:[L2],9090h ;two NOPs
L1:
.... ;put some code in here to avoid prefetched remains
mov ax...
add ax,cx
L2:
JC L3 ;this two bytes may become NOPS
....
__
wolfgang
.
- Follow-Ups:
- Re: Jumping into middle of instruction
- From: Bob Masta
- Re: Jumping into middle of instruction
- References:
- Jumping into middle of instruction
- From: mybwpp@xxxxxxxxxxxxxx
- Re: Jumping into middle of instruction
- From: Wolfgang Kern
- Re: Jumping into middle of instruction
- From: mybwpp@xxxxxxxxxxxxxx
- Jumping into middle of instruction
- Prev by Date: Re: Disk I/O, BIOS, dosemu, FreeDOS, linux host with Virtual Machines
- Next by Date: Re: Asm for Windows
- Previous by thread: Re: Jumping into middle of instruction
- Next by thread: Re: Jumping into middle of instruction
- Index(es):
Relevant Pages
|