Re: Disassembling a DOS COM file
- From: "emu8086" <spamtrap@xxxxxxxxxx>
- Date: Thu, 13 Oct 2005 07:22:11 +0000 (UTC)
Frank Kotler wrote:
> >This byte is automatically saved :) The integrated 8086
> > assembler automatically replaces LEA with a more efficient MOV.
>
> I see. How helpful!
This just clones A86 behavior, and ...
Try this:
mov si, 4h
mov bx, 3h
lea dx, [bx+si+10h]
end
this may be the best way to calculate 4+3+10
.
- Follow-Ups:
- Re: Disassembling a DOS COM file
- From: Jim Leonard
- Re: Disassembling a DOS COM file
- References:
- Re: Disassembling a DOS COM file
- From: emu8086
- Re: Disassembling a DOS COM file
- From: Frank Kotler
- Re: Disassembling a DOS COM file
- From: emu8086
- Re: Disassembling a DOS COM file
- From: Frank Kotler
- Re: Disassembling a DOS COM file
- Prev by Date: Re: protected mode: loading the idt
- Next by Date: French Nerwbie I need Help
- Previous by thread: Re: Disassembling a DOS COM file
- Next by thread: Re: Disassembling a DOS COM file
- Index(es):
Relevant Pages
|