flat assembler
Message board for the users of flat assembler.
Index
> DOS > stdcall for dos via fasmg, is there any error in the code |
Author |
|
revolution 03 Oct 2016, 08:37
Are you sure you want only 8086 instructions? 'pushd' is not an 8086 instruction. Neither is 'push imm'. Perhaps you want to select a more capable CPU? You need 80386 at least to get pushd, and/or 80186 to get push imm.
|
|||
03 Oct 2016, 08:37 |
|
Tomasz Grysztar 03 Oct 2016, 08:42
Judging from the rest of code I suspect that 16-bit PUSH is needed here. Just replace "pushd" with "push".
PS. You also need to pop the right number of bytes off stack with RET. |
|||
03 Oct 2016, 08:42 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.