flat assembler
Message board for the users of flat assembler.
Index
> Main > How to see output of assembler? |
Author |
|
Overclick 11 Oct 2021, 17:45
You cannot disassebler conditional macros/directives. They don't going to be compiled itself, they decide how their wards have to be compiled.
Run some debugger and see the clean assembly output. |
|||
11 Oct 2021, 17:45 |
|
macomics 11 Oct 2021, 18:16
Overclick wrote: Run some debugger Overclick wrote: and see the clean assembly output |
|||
11 Oct 2021, 18:16 |
|
thetrick 11 Oct 2021, 19:14
Thank you for the replies, i knew how to see a disassembler/debugger output. The reason i need the output because i want to use this asm output to further compilation. So i need the labels etc except "if" and some other "interpreter" things.
|
|||
11 Oct 2021, 19:14 |
|
sts-q 11 Oct 2021, 20:43
|
|||
11 Oct 2021, 20:43 |
|
Tomasz Grysztar 11 Oct 2021, 21:04
thetrick wrote: Thank you for the replies, i knew how to see a disassembler/debugger output. The reason i need the output because i want to use this asm output to further compilation. So i need the labels etc except "if" and some other "interpreter" things. Code: if ~ defined target | ( target-($+2) < 128 & target-($+2) >= -128 ) db 0EBh,target-($+1) else db 0E9h dw target-($+2) end if sts-q wrote: https://www.nasm.us/xdoc/2.15.05/html/nasmdoc2.html#section-2.1.3 |
|||
11 Oct 2021, 21:04 |
|
macomics 11 Oct 2021, 21:51
And why do you need pure assembler code when you can create .obj (COFF / MS COFF) or .o (ELF) and use a linker to insert the code generated by fasm in the form of a binary module with your program. Then it will only be necessary to transfer constant & structure declarations to make it easier to interact.
|
|||
11 Oct 2021, 21:51 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.