flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vivik 29 Oct 2017, 07:30
Just curious.
|
|||
![]() |
|
JohnFound 29 Oct 2017, 08:46
It?
|
|||
![]() |
|
vivik 29 Oct 2017, 08:50
Fresh IDE. Actually, any fasm IDE, (There are more than one?)
|
|||
![]() |
|
vivik 29 Oct 2017, 11:38
I'd actually drop linux support, and just tell everyone to use wine. Debuggers work somewhat ok in there. Maybe making a separate versions for windows and linux would be better, assembler and crossplatform doesn't fit really well together, many details are very platform dependant.
I feel so uncomfortable editing code in OllyDbg, I'm constantly afraid of running out of space. I use an addon that generates assembly text out of some function, then I edit it as text, and then reapply it. It works, but is very uncomfortable. If I had a better tool which could simplify it for me, it would be awesome. I could write code and execute it immediately. |
|||
![]() |
|
JohnFound 29 Oct 2017, 12:32
vivik wrote: I'd actually drop linux support, and just tell everyone to use wine. Debuggers work somewhat ok in there. Maybe making a separate versions for windows and linux would be better, assembler and crossplatform doesn't fit really well together, many details are very platform dependant. It is not so big problem actually. That is why I am developing FreshLib. It is highly portable at least for Windows, Linux and partially for KolibriOS. Even now it can be used for developing console applications that simply compiles for the supported OSes from the same source. I am working on the GUI part now and then Fresh IDE will be fully portable. Quote: I feel so uncomfortable editing code in OllyDbg, I'm constantly afraid of running out of space. I use an addon that generates assembly text out of some function, then I edit it as text, and then reapply it. It works, but is very uncomfortable. If I had a better tool which could simplify it for me, it would be awesome. I could write code and execute it immediately. I am always using Fresh IDE for developing and only debug in OllyDbg or EDB. "Goto address" feature (Ctrl+G) helps a lot to find the source line, corresponding on some memory address. _________________ Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9 |
|||
![]() |
|
vivik 29 Oct 2017, 13:04
JohnFound wrote: I am always using Fresh IDE for developing and only debug in OllyDbg or EDB. "Goto address" feature (Ctrl+G) helps a lot to find the source line, corresponding on some memory address. How do you get the address? Fresh IDE can do that? As I understand it, you first write your program, compile it, and then run it in a debugger? I'd like to do it a bit differently: write first line of your program, run it, see if everything is fine, write the rest. It is easier to do for assembly than for high level languages. Kind of like edit-and-continue. I guess I have to wait? |
|||
![]() |
|
JohnFound 29 Oct 2017, 13:49
vivik wrote:
The address of particular label you can see in the code completion window, by simply positioning on the label and pressing Ctrl+Space. The source must be compiled, of course. If you know some address - for example, where some exception happened, you can find where this address is located in the source with the mentioned "Goto address" function. Press "Ctrl+G" enter the address and the editor will position on the line corresponding with this address. Of course only if the address is from your source. Quote: As I understand it, you first write your program, compile it, and then run it in a debugger? I'd like to do it a bit differently: write first line of your program, run it, see if everything is fine, write the rest. It is easier to do for assembly than for high level languages. Kind of like edit-and-continue. Well, it does not seems to work this way. The execution of one instruction depends on the current context. If you execute one instruction and something is wrong you can't simply undo the context (register values) to the previous state and fix the instruction. In addition, in 99% of cases, writing instruction, you already know what this instruction will do, so executing it is meaningless. _________________ Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9 |
|||
![]() |
|
vivik 29 Oct 2017, 14:24
Hm, I need to try Fresh IDE out.
JohnFound wrote:
I guess one has to keep an "undo history" to be able to "rewind". Gdb actually supports rewinding, it can even rewind cpu built-in rng. Even without undo history, sometimes it's enough to just go a few steps back and recalculate something. To the beginning of function, for example. JohnFound wrote:
I don't, I'm terrible at assembly. I have to write tiny "example programs" for every instruction. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.