flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid
Quote: As a result I want to obtain the .bin - file. This is the problem: bin file has no strictly defined layout - how the linker should know how to position and group segments? I think what you want is not possible with MS linker. It is possible with linux ld using something called "linker script", but I think it is a bit advanced thing, I never used it. |
|||
![]() |
|
4min
But linking isn't the problem? How?
|
|||
![]() |
|
vid
to link with MS linker to .exe, you just have to do something like this:
Code: link /subsystem:console /entry:<symbol> /nodefaultlib object1.obj object2.obj |
|||
![]() |
|
daniel.lewis
No idea.
This is one of those moments when I wonder if all the abstraction and obfuscation and complication of using programming languages and compilers was ever really worth it. *pauses in contemplation* It doesn't matter. The deed is done. _________________ dd 0x90909090 ; problem solved. |
|||
![]() |
|
vid
Quote: This is one of those moments when I wonder if all the abstraction and obfuscation and complication of using programming languages and compilers was ever really worth it. It is. You'll learn when you try to code something big, or try to mix other people's code to yours, etc... |
|||
![]() |
|
bitRAKE
It is true when:
(time to code function yourself) > (time to learn interface of function of 'other') and (goal is to complete project in minimal time) If you enjoy coding then maybe doing it yourself is the goal. |
|||
![]() |
|
vid
Sure, but if you want to reach big goals, "do everything yourself" may be impossible. For small goals it is fine, and for sure more fun than learrning other's interfaces.
|
|||
![]() |
|
daniel.lewis
I have a scripting engine and compiler I've been writing, and have reverse engineered three complete operating systems.
IDA Pro makes it easier for a reverser to understand a program than most programmers get from source code view. Yay for flow control graphs! I just wish I could click and type assembler into them. _________________ dd 0x90909090 ; problem solved. |
|||
![]() |
|
vid
daniel: hi - my response was meant for BitRake, - but still: if you want to make you your own project, go own, otherwise keep out of way. I don't mean ABSOLUTELY no harm, but stilll, it was WF
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.