flat assembler
Message board for the users of flat assembler.
Index
> Main > CALL opcodes - absolute vs relative offset |
Author |
|
b1528932 23 Jan 2011, 16:06
Your virtual machine?
And you ask such questions? There is no way to call absolute address using immiediate value. You need the modrm variant. |
|||
23 Jan 2011, 16:06 |
|
neville 23 Jan 2011, 21:16
Akko, welcome!
Opcode 9A is an absolute ("far") call. _________________ FAMOS - the first memory operating system |
|||
23 Jan 2011, 21:16 |
|
edfed 24 Jan 2011, 00:08
use16
jmp far dword 0123h:0ABCDh = EA CD AB 23 01 |
|||
24 Jan 2011, 00:08 |
|
neville 24 Jan 2011, 01:18
edfed, I think he wanted to CALL, not JMP
BTW, I've been looking through some old interesting threads from my long absence, and I found this: http://board.flatassembler.net/topic.php?t=10980 I assume it never happened? I like your idea though, it is a bit like a memory OS _________________ FAMOS - the first memory operating system |
|||
24 Jan 2011, 01:18 |
|
edfed 24 Jan 2011, 14:40
yeah, sorry, but it is the same
use16 call far dword 0123h:0ABCDh = 9A CD AB 23 01 use32 call far fword 0ABCDh:01234567h = 9A 67 45 23 01 CD AB problem solved. now, return to pic programming |
|||
24 Jan 2011, 14:40 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.