Author Topic: Assembly Programming!  (Read 1403 times)

I'm currently taking an assembler class in college and was just wondering if anyone has had the pleasure of doing assembler before.  This is my second time taking the class because i'm an idiot but the first time we did x86 NASM but now we're doing some convoluted bastard child of MASM.  I also just finished my program to find the floating point square root of a number that gets within 1.0E-12 of the actual number

It's around 140 lines, have fun!  I think just about every line is commented so you should be able to understand it if you know any programming

>assembly
>pleasure

no
stop

also fun fact: rollercoaster tycoon 1 and 2 were both written completely in raw assembly. IMAGINE HAVING TO DO THAT.

id have more fun cutting my wrists with c#

What do you mean? Managing stacks and registers is the most fun anyone can have with programming!

But seriously I wish I could make something as good as Chris Sawyer. He has to be my favorite game developer ever.

my question is why pursue assembly. its a dead end

Because it's a major requirement. It also is used to teach about memory management which is making a huge comeback because of smart phones and what not. Still mostly useless though

what are you pursuing that makes it a requirement?

also I guess its useful at times... implementing algorithms with assembly in C++ code is a major +. assembly is fast as hell. but other than that youd have to be a lunatic to go further lol

C++ is probably the best (dont shoot me, its my opinion) language out there if used correctly. But most people don't. And by most I'm talking like 99.999%. You know the heartbleed bug? And the blockland crash hack? That's because the people who programmed it don't follow strict guidelines on how to make their stuff and then small mistakes happen that snowball into big catastrophic effects. If you aren't extremely diligent you will encounter problems.

what are you pursuing that makes it a requirement?

also I guess its useful at times... implementing algorithms with assembly in C++ code is a major +. assembly is fast as hell. but other than that youd have to be a lunatic to go further lol

A bachelors' in Computer Science and another in Computer Security. It's required for both majors.

We're not learning it for using it in C++. It's more to understand the brown townytical aspect of CS which is what my current Operating systems class is all about. On our programs he explicitly tells us not to ask him questions about the programming part.

I love ASM. I actually don't like NASM nor MASM but my favorite assembler is FASM. It's also extremely fun to work with decompiled ASM. I have a lot of experience with decompiled executables so I know assembly like the back of my hand. It's not really efficient for writing programs in because of its verbosity, but it's much more fun to write programs in assembly than C++. I wrote a bootloader once, that was crazy.

Most of my C++ mods for Blockland are written as bastard mixes of C, C++, and ASM. It's a lifestyle.


I've been a teaching assistant for my school's junior level assembly course for several years, spent the summer working on a reverse engineering project, and currently work as an embedded system engineer for an automotive company so I've had my fair share of C and various assembly languages.

I love ASM. I actually don't like NASM nor MASM but my favorite assembler is FASM. It's also extremely fun to work with decompiled ASM. I have a lot of experience with decompiled executables so I know assembly like the back of my hand. It's not really efficient for writing programs in because of its verbosity, but it's much more fun to write programs in assembly than C++. I wrote a bootloader once, that was crazy.

Most of my C++ mods for Blockland are written as bastard mixes of C, C++, and ASM. It's a lifestyle.
blockland supports c++ mods? injection?


But seriously I wish I could make something as good as Chris Sawyer. He has to be my favorite game developer ever.
I loved his locomotion game. c: