[BIOS] How to calculate the destination by machine code ?
- From: "liaoo" <spamtrap@xxxxxxxxxx>
- Date: 27 Apr 2006 22:40:37 -0700
Dear all,
I have a question about the content of BIOS :
( 512KByte BIOS , 0x00000~0x7ffff )
Let me briefly describe it ^_^
At power on, CPU will access the content in
address 0xFFFFFFF0 and then perform the
fetched code ( usually a far-jump...)
[ROM content]
address : 0007fff0 data : EA AA FF 00 F0
^^^^^^^^ ^^ ^^^^^^^^^^^
first fetched code far jump to F000:FFAA
According to above, we check the content in
address 0x007FFAA:
[ROM content]
address: 0007ffaa data : B0 78 E6 80 E9 BF
^^^^^ ^^^^^ ^^^^^
*1 *2 *3
*1 - machine code of assembly code "mov al, 78h"
*2 - machine code of assembly code "out 80h, al"
*3 - guess " near jump"....
My question is : how to interpret the machine code "E9 BF" ?
( E9 is the machine code for "jmp" and "BF" is ? )
One clue is : I know the destination after executing "E9 BF"
and that is address 0x00070260 ! ( within the same segment...)
Regards,
Jimmyliao
.
- Follow-Ups:
- Re: How to calculate the destination by machine code ?
- From: Mark Whitlock
- Re: How to calculate the destination by machine code ?
- Prev by Date: Re: lea with fs override
- Next by Date: Re: clobbered registers
- Previous by thread: (ANNOUNCE) HLA Standard Library at SF
- Next by thread: Re: How to calculate the destination by machine code ?
- Index(es):