[ASM] Assembly Programming

Got questions? Got answers? Go here for both.

Moderator: MaxCoderz Staff

Post Reply

Is ASM hard to master?

Yes
1
7%
No
14
93%
 
Total votes: 15

User avatar
ProphetsDementia
Regular Member
Posts: 81
Joined: Wed 06 Dec, 2006 2:20 am
Location: Tokyo, Kanto, Japan

[ASM] Assembly Programming

Post by ProphetsDementia »

This may or may not be a valid post.
However, I must know.

Is assembly has hard as it sounds and looks?
User avatar
tr1p1ea
Maxcoderz Staff
Posts: 4141
Joined: Thu 16 Dec, 2004 10:06 pm
Location: I cant seem to get out of this cryogenic chamber!
Contact:

Post by tr1p1ea »

Asm is not hard to master at all. You do require a 'can-do' attitude though.

If you prepare correctly, gather lots of reading material and try not to 'rush' through it, you should be fine.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."
Image
Image
User avatar
Halifax
Sir Posts-A-Lot
Posts: 225
Joined: Mon 01 Jan, 2007 10:39 am
Location: Pennsylvania, US

Post by Halifax »

Yeah Assembly really isn't that hard once you learn it. And plus the benefits and joys and experiences are well worth it once you learn it.
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

From my experience, assembly usually does exactly what it should. I still don't understand the square root routines though..

It might be a little hard to get started, but once you know the basics it's pretty easy.
User avatar
benryves
Maxcoderz Staff
Posts: 3087
Joined: Thu 16 Dec, 2004 10:06 pm
Location: Croydon, England
Contact:

Post by benryves »

No, it's very simple (going by a very literal definition of simple) and does exactly what it says on the tin.
User avatar
Dwedit
Maxcoderz Staff
Posts: 579
Joined: Wed 15 Dec, 2004 6:06 am
Location: Chicago!
Contact:

Post by Dwedit »

It helps if you have lots of experience in working with binary data before taking on ASM.
Then for a while, you'll be at the "look at other people's code and rearrange it" stage. Then you do that enough, then you can write your own.
You know your hexadecimal output routine is broken when it displays the character 'G'.
User avatar
driesguldolf
Extreme Poster
Posts: 395
Joined: Thu 17 May, 2007 4:49 pm
Location: $4080
Contact:

Post by driesguldolf »

ASM is not hard, but you must have the right attitude, the right mindset,... not many people have these standards (I kinda had)

you'll spend the most time understanding how things work in binary, learn the common logic, once you have that, asm is easy, from then it's just about learning "tricks"
User avatar
Halifax
Sir Posts-A-Lot
Posts: 225
Joined: Mon 01 Jan, 2007 10:39 am
Location: Pennsylvania, US

Post by Halifax »

@Dwedit: I find that very hard to look at other peoples code first and then go on to making your own code. I tried to read ionputsprite when I first started and had a brain meltdown. So I programmed for about a 1 1/2 years and came back and it was easier then I could have every imagined. Same with Jim_e's improved/your original tilemapper.

I always find it useful that if you don't understand the code at first sight then go through and trace it by inputting fake data and seeing what happens. That is what makes assembly easy because its not like basic where you can have like:

length(sub((2A-1)+1), .5B - abs(2A+1)))

or something like that. You take assembly one command at a time.
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

you can't have

Code: Select all

length(sub((2A-1)+1), .5B - abs(2A+1))) 
sub('s first arg should be a string, should have more than 1 arg, and length( doesn't take 2 args, and doing math like this (making a substring and calculating it's length) is quite.. odd.. to say the least.

But I get your point, and I agree with you. (I also had a bit of a brain meltdown when I looked at existing code before trying to learn something simple, I would have been here a year earlier if I hadn't :P )

ps: you had 1 too many closing brackets
User avatar
Halifax
Sir Posts-A-Lot
Posts: 225
Joined: Mon 01 Jan, 2007 10:39 am
Location: Pennsylvania, US

Post by Halifax »

"or something like that" Yeah I tried to make it as true as possible but I waas trying to get done and I just didn't really want to think of how to make it real. I just know it looks like that and when I read Metroid II I died
Post Reply