Nasm IDE - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Nasm IDE

Can anyone recommend me an IDE for Nasm? I tried Nasmide, but I had problems with it. Are there any others out there?

Thanks!
«13

Comments

  • jgmorfordjgmorford Posts: 19Member
    : Can anyone recommend me an IDE for Nasm? I tried Nasmide, but I had problems with it. Are there any others out there?
    :
    : Thanks!
    :

    RADASM is the best IDE I've found to date, as far as visual appeal goes.
    I do all my assembling through batch files, but use this while editing
    my sources. See the link below:

    http://radasm.visualassembler.com/download/radasm.html

    BTW: This IDE runs under Windows, not DOS (if it matters).
  • BitdogBitdog Posts: 528Member
    : Can anyone recommend me an IDE for Nasm? I tried Nasmide, but I had problems with it. Are there any others out there?
    : Thanks!

    [green]
    I don't know everything, but it appears that you're trying to take the hardest route from point A to point B.
    Intel syntax is difficult and not standard in the programming world
    like Masm, Tasm, Nasm, Fasm, & many other great FreeBee assemblers.
    Then, sifting through a mountian of bloat ware info help .doc's
    just to assemble one little .asm to an .obj so you can link or make
    a library is just about the worst and that's what happens with IDE's

    The idea being that: the perfect mariage between a programmer and their computer is: let the computer do the remembering by holding refereance files,
    then you are free to concentrate on your goal.
    The other way around is where the computer fills your head with a mountian of info that you are suspose to remember, and the result is,
    one is quickly overwhelmed with data, rendering him useless.

    GCC & many other assembler/compilers, (if I remember correctly)
    are almost impossible to under stand considering the bloat ware sifting
    one has to do to get it to do anything. Where others just work.
    If you know the guys favorite color before you know how to get the
    software to work, delete it. Because the rest of the program is going to be the same.

    Using the FreeBee assemblers available on the internet,
    (Fasm & Nasm have simple info help doc's)
    you can assemble little .BIN .COM files ORG 0
    from a blank template you copy,
    a batch file assembles it, to .OBJ
    and you link it in as an extern into the compiler your familuar with.
    Grouping .OBJ files into a .LIB library, basicly makes them portable
    to other compilers & assemblers.

    Different programs are nothing more than a bunch of the same little program parts
    put together & used in different ways.

    I hope that helps some how.
    I wrote this because it seems real easy to get caught up in the endless loop
    of haveing to remember names that others make up. Click names?
    There's a million of them, yet there are only a few asm instructions,
    and that's all you need to create great programs.
    Just learn the standard instructions & screw the rest.

    Bitdog
    [/green]



  • ASHLEY4ASHLEY4 Posts: 254Member
    Bitdog.
    I could not have put it better my self, Asm is all about simplicity,look what happen's when you put a simple 0 and a simple 1 in a certain order .
    Bloat wares is for C programmers.

    ASHLEY4.
  • AsmGuru62AsmGuru62 Posts: 6,519Member
    : Bitdog.
    : I could not have put it better my self, Asm is all about simplicity,look what happen's when you put a simple 0 and a simple 1 in a certain order .
    : Bloat wares is for C programmers.
    :
    : ASHLEY4.
    :
    [blue]I disagree, obviously, and not because I am coding such IDE right now, but just because everyone thinks that ASM is for small projects only. Like school stuff - enter ten numbers, sort them and print them out, or reverse text you entered. How about serious projects on ASM? Obviosly, we need something to remember all functions, labels, structures and their members, constants, etc. when we do a big project - thousands of lines! We need to navigate in all that chaos and we need auto-complete to type code without looking for function names or their parameters. We need to move our code forward, we need to extend our code and reuse it - in other words we need OOP here. We need classes and virtual methods, inheritance, etc. And we need an ability to do it all fast. So, definitely, the good IDE is a MUST for a big project. Again, I am not talking about the school projects, just to get a taste of ASM...
    [/blue]
  • ASHLEY4ASHLEY4 Posts: 254Member
    : : Bitdog.
    : : I could not have put it better my self, Asm is all about simplicity,look what happen's when you put a simple 0 and a simple 1 in a certain order .
    : : Bloat wares is for C programmers.
    : :
    : : ASHLEY4.
    : :
    : [blue]I disagree, obviously, and not because I am coding such IDE right now, but just because everyone thinks that ASM is for small projects only. Like school stuff - enter ten numbers, sort them and print them out, or reverse text you entered. How about serious projects on ASM? Obviosly, we need something to remember all functions, labels, structures and their members, constants, etc. when we do a big project - thousands of lines! We need to navigate in all that chaos and we need auto-complete to type code without looking for function names or their parameters. We need to move our code forward, we need to extend our code and reuse it - in other words we need OOP here. We need classes and virtual methods, inheritance, etc. And we need an ability to do it all fast. So, definitely, the good IDE is a MUST for a big project. Again, I am not talking about the school projects, just to get a taste of ASM...
    : [/blue]

    There is no need to write large program. This only helps big software and hardware companies.
    If the japanese owned MS the programs would get smaller every new release.
    Take XP compared to MenuetOs 1gb v 500k (i dont mean that there is not a differance but there is not a gb's worth of differance)
    All my programs are broken down in to small inc files .

    ASHLEY4.
  • BitdogBitdog Posts: 528Member
    Quote "small inc files"

    Now that's the ticket,
    it's something you can see......(alter,use,add to,etc)
    a code picture is worth a thousand bloatware words (er more).

    We're counting on Asmguru62 to make a simplified referance help.
    String searchable text files. (as apposed to bloat.pdf & html's)
    & have exposed commented code, etc, THEN I'll convert to an IDE
    working in on a ramdisk (where you loose your code at every lock)
    like Windoze being DOS with a GUI on a RAMDISK, har har har.....
    As soon as you get familuar with a MS product er OS they come out
    with another one to stay on top of the $ heap,
    and yer so happy to get the new system, because the old one was so bad.
    Then ya find out that they are all built by folks who don't use it
    them selves, there just in it for the money.
    Their programs never evolved down to user friendly.
    But oh well, what's another hundred bucks.
    Just think of the hours of fun you'll have rearanging icons on the desk top.
    It's that warm fuzzy feeling ya get when ya finally get the damn thing configgured.
    Then on next boot, it reconfiggures it's self.

    Bitdog.

    PS, I wrote my first Fasm .asm for MenuetOS today, n it feels gud.
    (even though a mini boot.bin read/writer is quite laufable....)


  • descenteracedescenterace Posts: 93Member
    I had an idea for a machine-code IDE. Basically, it puts stuff in three columns: segment address, opcodes, and mnemonics. The programmer can alter the opcode (in which case the IDE updates the mnemonic display) or he can change the mnemonic (in which case the IDE updates the opcodes). The result is an environment perfect for writing small hand-optimised code in x86 Machine Code.

    I do this kind of thing in text files anyway: a column of addresses with opcodes and mnemonics beside them, updated and formatted by hand. But the IDE would recognise labels and automatically update jumps and variable references for me. And it'd eliminate the need for my hacked-up OPCODES.EXE C module which strips away the addresses, comments and mnemonics from the opcodes, then converts them to binary.
    Ultimately, it'd just be a glorified text editor which saves in .LST and .COM format. Making it save in .EXE format could be a problem, because the documentation for multisegment (non-Windows) .EXEs is, um, insufficient...

    Finally, THERE'S NOTHING WRONG WITH PROGRAMMING IN C! Or C++. But I do object to Java: a 'safety net' programming language for people who can't be bothered to clean up memory after themselves, and are also terrified of core dumps. It doesn't even have pointers! C is far more interesting, especially with the ever-useful #DEFINE instruction.
  • _kulhas_kulhas Posts: 45Member
    : I had an idea for a machine-code IDE. Basically, it puts stuff in three columns: segment address, opcodes, and mnemonics. The programmer

    This exists and is called debugger :) lol , well i think most of the new debugger make this ( OllyDbg i think it does )

    I dont think a IDE inc the work of a programmer i think it does the inverse ...
    remenber labels is easy i use java label sintax for labels , i use makefiles to automate the compiler process and macros to increse my work also i make all code in separeted file and i make all defs in a .h.asm files (this also makes oop very easy in nasm , since i export only importante symbols ) ... i think i am now coding faster in nasm than in C , or in any other hll language ...

  • descenteracedescenterace Posts: 93Member
    : : I had an idea for a machine-code IDE. Basically, it puts stuff in three columns: segment address, opcodes, and mnemonics. The programmer
    :
    : This exists and is called debugger :) lol , well i think most of the new debugger make this ( OllyDbg i think it does )

    Yeah, I know. I have Borland Turbo Debugger, and it was there I got the idea. Thing is, the procedure for inserting code is a bit clunky, and it won't 'reassemble' stuff for you. Any new code you paste in will overwrite anything already there.

    My IDE would've been much like a two-column Notepad: just click in a column to activate it, and then you can treat that column like a text editor window; freely modify data in it.
  • BitdogBitdog Posts: 528Member
    [green]
    I like Descentance's idea of a .COM & a .LST file thingie.
    I had had the idea the other day that a std .txt file could be written just like a WP doc
    but it was saved in ASCII .TXT and had a .DOC of the same basename which held all the
    address, colors, graphics, etc. So an editor/view could load it and it would look
    just like a .pdf but one could use the .txt file for string search/copy/share/etc.

    Kulhas's idea of, asm is a HI level language if you already have code parts made, is good.
    I'm likeing Fasm lately because it self assembles, open source, etc.
    It's code is almost identical to Nasm so I converted all my proc's in an evening.
    fasmenv.zip comming soon........ :)

    I started feeling bad about not recognizing the need to move .asm to a
    higher level like Asmguru62 is working on.
    (& rambling MS crap, when I should have been sleeping.)
    It's true that I've had a hard time getting big projects done,
    while dinking with trying to save a byte here and there.

    So today I thought I would try to solve the .asm code size problem.
    One can't see the forrest through the trees with .asm code.
    It's so spread out that a screen full doesn't show the goal,
    it only shows a lot of push pop meaningless move instuction type junk.
    Yet you can look at & decypher a C code screen for quite a while,
    & see the full function, from beginning to end.
    So how does one compress .asm code ?
    My editor allows any char 0-255 to be shown exactly like it is,
    and it uses CRLF for EOL where a .doc editor only uses LF.
    BUT, Fasm & Nasm allow .doc style code as input.
    SO, I can group lines into one using CTRL+Q+J to make the LF char = 10
    I try to get the rows of LF even, then add a comment & CRLF.
    The lines are grouped according to their function as described by the comment.
    I don't know the full implications of this yet?
    One down side is the assembler line errors are different than my editor.
    And it takes a bit of getting use to, to read fluently. I like it !
    But will it stand the test of time ?

    Bitdog
    PS, 11 lines converted to 4.
    The message board formatting doesn't allow LF=10 char,
    so I substuted the | more char.
    To try it, save as x?, then change the | to LF=10 with Ctrl+Q+J or Ctrl+J ?
    With your Norton Commander editor :)
    It almost looks like 3 instructions per line, makes 3 columns of code?
    [/green]
    [code]
    isNEAR: LODSW | CMP AX,0x3D00 | JZ doHDR | JB doSMAL ;chk mach code JMP size
    doBIG: CALL POPSTR | DB "The header is > 64 bytes.",13,10,36
    doSMAL: CALL POPSTR | DB "The header is < 64 bytes.",13,10,36
    POPSTR: POP DX | MOV AH,9 | INT 21h ; print string adr on stack
    doHDR:
    [/code]

«13
Sign In or Register to comment.