Re: Understanding assembler instructions
- From: Betov <betov@xxxxxxx>
- Date: 28 Oct 2005 13:53:38 GMT
Christian Christmann <plfriko@xxxxxxxx> écrivait news:4361fcbd$0$21955
$9b4e6d93@xxxxxxxxxxxxxxxxxxxxxxxxxx:
> In a CALL instruction, the high 2 bits are the instruction code and the
> low 30 bits are s signed word offset. What are the hex addresses for
> X, Y and Z?
There are several forms of CALL. The one for "Direct
Code CALL" is a one-Byte Opcode, followed by a dWord.
This dWord is the relative Displacement from the first
Byte, after the Call Instruction, to the targetted
location.
Example
> call Code0411860 ; E8 EC FF 00 00
.... means (E8) CALL "+65516" (0FFEC)
> call Code0401F80 ; E8 D5 FF FF FF
.... means CALL "-43" (0FFFF_FFD5)
Betov.
< http://rosasm.org >
.
- Follow-Ups:
- Re: Understanding assembler instructions
- From: Alex McDonald
- Re: Understanding assembler instructions
- References:
- Understanding assembler instructions
- From: Christian Christmann
- Understanding assembler instructions
- Prev by Date: Understanding assembler instructions
- Next by Date: Re: OT: I have located Beth - but she's still confuzzled
- Previous by thread: Understanding assembler instructions
- Next by thread: Re: Understanding assembler instructions
- Index(es):
Relevant Pages
|