flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Diicorp95
Hello, people! Do you have any idea why
Code: jmp 0x00007E00 compiles into Code: jmp 0x00000200 ? I'm sure that I did everything OK. ![]() |
|||
![]() |
|
Diicorp95
I think that's because of org 0x7C00, because 0x7E00 - 0x7C00 = 0x0200...
|
|||
![]() |
|
revolution
All jmp and call instructions are IP relative when you use an immediate operand.
Everything is as expected. |
|||
![]() |
|
Diicorp95
revolution wrote: All jmp and call instructions are IP relative when you use an immediate operand. I've tested it on zero-filled IP. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.