flat assembler
Message board for the users of flat assembler.
Index
> Main > jmp instruction encoding? |
Author |
|
comrade 30 Nov 2003, 21:40
EB (dest-src-2)
Code: abc: jmp $ = EB (abc-abc-2) = EBFE also there is E9 (long jmp), same as EB but for much farther ranges. Same idea. |
|||
30 Nov 2003, 21:40 |
|
Tomasz Grysztar 30 Nov 2003, 21:45
The address put in the code of jump instruction is just relative to the next instruction - the one following the whole jump, which would be executed if jump was not taken.
|
|||
30 Nov 2003, 21:45 |
|
silkodyssey 30 Nov 2003, 23:32
Thanks for the info Comrade, Privalov. I guess I had the right idea in the first place.
_________________ silkodyssey |
|||
30 Nov 2003, 23:32 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.