Author Topic: What's a good Assembler?  (Read 7585 times)

0 Members and 1 Guest are viewing this topic.

Offline abc

  • Hero Member
  • *****
  • Posts: 576
    • View Profile
What's a good Assembler?
« on: March 07, 2007, 09:22:00 pm »
What is a good Assembler?

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: What's a good Assembler?
« Reply #1 on: March 07, 2007, 10:45:05 pm »
That was a *really* loaded question. :)

Do you want to make Windows programs? MASM32

Do you want to make DOS, Windows, Linux, or system-level programs, or a bootloader/OS? NASM + TextPad (Harder to implement Win32 API)
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: What's a good Assembler?
« Reply #2 on: March 08, 2007, 02:49:29 am »
That was a *really* loaded question. :)

It's not really a loaded question so much as a vague one since the question doesn't presuppose a truth...
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: What's a good Assembler?
« Reply #3 on: March 08, 2007, 02:51:48 am »
Ah. But yeah, you know what I meant though. :)
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: What's a good Assembler?
« Reply #4 on: March 08, 2007, 09:08:43 am »
yeah, you'll have to be more specific.

I generally program assembler as inline in a C program. Depending on what you're doing, that may or may not work for you.

Offline abc

  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: What's a good Assembler?
« Reply #5 on: March 08, 2007, 12:14:37 pm »
Uh, Sorry I'm just starting to learn assembly, um, Windows programs I guess  :D

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: What's a good Assembler?
« Reply #6 on: March 08, 2007, 03:48:51 pm »
MASM.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline cheeseisfun

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Re: What's a good Assembler?
« Reply #7 on: March 08, 2007, 06:45:22 pm »
That was a *really* loaded question. :)

Do you want to make Windows programs? MASM32

Do you want to make DOS, Windows, Linux, or system-level programs, or a bootloader/OS? NASM + TextPad (Harder to implement Win32 API)

Pfft, masm is lame. Nasm 4 lyfe. Masm is for newbs who don't know native x86 assembly, and are only smart enough to use the lame macros in it, like "IF/THEN". If you're gonna code in asm, why the hell would you want to use masm? It sux y0.

Warrior, stop using MASM. If you don't, best watch yo back nigga. I'ma roll 6 deep on yo hood, and yo whole family if you don't use nasm or fasm. After them hollow points burst through yo chest, I watch with satisfaction as you bust into a spasm. That's another reason you don't use masm, children. I got an AK-47 with magnum armor piercing shells, yo.

Stop feeding The Man, he only wants you to use MASM32.
« Last Edit: March 08, 2007, 06:49:28 pm by cheeseisfun »

Offline abc

  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: What's a good Assembler?
« Reply #8 on: March 08, 2007, 06:58:01 pm »
That was a *really* loaded question. :)

Do you want to make Windows programs? MASM32

Do you want to make DOS, Windows, Linux, or system-level programs, or a bootloader/OS? NASM + TextPad (Harder to implement Win32 API)

Pfft, masm is lame. Nasm 4 lyfe. Masm is for newbs who don't know native x86 assembly, and are only smart enough to use the lame macros in it, like "IF/THEN". If you're gonna code in asm, why the hell would you want to use masm? It sux y0.

Warrior, stop using MASM. If you don't, best watch yo back nigga. I'ma roll 6 deep on yo hood, and yo whole family if you don't use nasm or fasm. After them hollow points burst through yo chest, I watch with satisfaction as you bust into a spasm. That's another reason you don't use masm, children. I got an AK-47 with magnum armor piercing shells, yo.

Stop feeding The Man, he only wants you to use MASM32.

laff@u

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: What's a good Assembler?
« Reply #9 on: March 08, 2007, 08:10:14 pm »
That was a *really* loaded question. :)

Do you want to make Windows programs? MASM32

Do you want to make DOS, Windows, Linux, or system-level programs, or a bootloader/OS? NASM + TextPad (Harder to implement Win32 API)

Pfft, masm is lame. Nasm 4 lyfe. Masm is for newbs who don't know native x86 assembly, and are only smart enough to use the lame macros in it, like "IF/THEN". If you're gonna code in asm, why the hell would you want to use masm? It sux y0.

Warrior, stop using MASM. If you don't, best watch yo back nigga. I'ma roll 6 deep on yo hood, and yo whole family if you don't use nasm or fasm. After them hollow points burst through yo chest, I watch with satisfaction as you bust into a spasm. That's another reason you don't use masm, children. I got an AK-47 with magnum armor piercing shells, yo.

Stop feeding The Man, he only wants you to use MASM32.

Rofl. I love you.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: What's a good Assembler?
« Reply #10 on: March 08, 2007, 10:53:54 pm »
Uh, Sorry I'm just starting to learn assembly, um, Windows programs I guess  :D
It sort of depends what you're writing it for. Personally, I've never written an assembly program (not entirely true, but we'll go with it). I've read a lot of assembly, and I know enough to do a lot with it, but to actually sit down and write a program is rather useless. Nobody does it. At the very least, you write a C function in assembly, which is fairly different.

If you want to learn to reverse engineer/hack, then all you really need to do is learn how to read assembly, not write it. If you're interested in learning how to read assembly a bit, touch base with me on the weekend and I can show you some simple functions that I generally save for teaching people.

Offline cheeseisfun

  • Full Member
  • ***
  • Posts: 102
    • View Profile
Re: What's a good Assembler?
« Reply #11 on: March 15, 2007, 09:42:17 pm »
Uh, Sorry I'm just starting to learn assembly, um, Windows programs I guess  :D
It sort of depends what you're writing it for. Personally, I've never written an assembly program (not entirely true, but we'll go with it). I've read a lot of assembly, and I know enough to do a lot with it, but to actually sit down and write a program is rather useless. Nobody does it. At the very least, you write a C function in assembly, which is fairly different.

If you want to learn to reverse engineer/hack, then all you really need to do is learn how to read assembly, not write it. If you're interested in learning how to read assembly a bit, touch base with me on the weekend and I can show you some simple functions that I generally save for teaching people.

People do write entire programs in asm. Whole operating systems have been written in ASM. ask warrior about this. i've written programs in asm, too. not only to learn, but because i actually like asm. it's a lot more fun to write in asm than it is to write a program in C, in my opinion. it's more raw, and you feel more in tune with the technology at hand. it's leet, too. ok?

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: What's a good Assembler?
« Reply #12 on: March 15, 2007, 10:45:18 pm »
People do write entire programs in asm. Whole operating systems have been written in ASM. ask warrior about this. i've written programs in asm, too. not only to learn, but because i actually like asm. it's a lot more fun to write in asm than it is to write a program in C, in my opinion. it's more raw, and you feel more in tune with the technology at hand. it's leet, too. ok?
*nod*

I have significant experience with both, and they're both just as in tune. But with very, very few exceptions, anything you can do in assembler you can also do in C.

A useful operating system hasn't been written in assembler since the 60's - 70's when C was invented. The huge advantages to C is:
* It's portable
* It's faster (to write)
* It's faster (to run -- a good optimizing compiler can optimize way better than a human)

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: What's a good Assembler?
« Reply #13 on: March 16, 2007, 12:07:12 pm »
iago is right, writing anything large in assembly is pretty foolish. It pins you against the C Compiler and it's optimizations and most likely you will not win.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline mynameistmp

  • Full Member
  • ***
  • Posts: 111
  • Hi! I'm new here!
    • View Profile
Re: What's a good Assembler?
« Reply #14 on: March 27, 2007, 10:04:19 pm »
If you want to learn to reverse engineer/hack, then all you really need to do is learn how to read assembly, not write it. If you're interested in learning how to read assembly a bit, touch base with me on the weekend and I can show you some simple functions that I generally save for teaching people.


Could you make a thread out of it? It'd save you several reiterations, and I'm sure there're a few of us interested. I think you'd draw more interest (and save some time and redundant, derivative subject matter) if you assumed an amateur audience, as opposed to novice. I may have some information to include that would be considered useful.