I hate Assembly Language

SWScorch

Diamond Member
May 13, 2001
9,520
1
76
been working on an asm program all night. a classmate, who got it working, gave me his code to look over, which works flawlessly. After realizing my code was hopeless, I copied and pasted his code, and it doesn't work! I've been debugging for the past 3 hours, and can't find anything wrong. Our code is identical! Grrrr to asm
 

acemcmac

Lifer
Mar 31, 2003
13,712
1
0
:cookie: and good luck when the TA catches you. 3 people were ejected from my school's compsci major program last week for cheating exactly like that.

I'm not saying it isn't hard as hell and that I wouldn't do the same thing... but I'd NEVER copy and paste anything, even if it was working and mine wasn't. fast way to fail.
 

SWScorch

Diamond Member
May 13, 2001
9,520
1
76
teach allows us to work together on homework; it's not a test

Plus, I had no intention of keeping our code the same. Not only because it's easy to tell, but we have different coding styles and different ideas. I just wanted to see what I was doing wrong, and now I'm all confused.

Aha! a tiny breakthrough! now it prints gibberish onto the screen, which is better than nothing at all, I suppose. I'm thinking there's something screwy with my data segment.
 

SWScorch

Diamond Member
May 13, 2001
9,520
1
76
crap, it's back to crashing, and all I did was remove an output statement. WTF?!
 

So

Lifer
Jul 2, 2001
25,923
17
81
:(

Assembly is fun stuff. What type of computer are you writing assemply for?
 

SWScorch

Diamond Member
May 13, 2001
9,520
1
76
Official: I am stupid.

It helps to push something onto the stack before you try to pop it. Back to my own code now!
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Originally posted by: SWScorch
Official: I am stupid.

It helps to push something onto the stack before you try to pop it. Back to my own code now!

lol
 

SWScorch

Diamond Member
May 13, 2001
9,520
1
76
sweet. I actually do like a lot, I think it's a lot of fun, but sucks trying to debug. At least there's no recursion in this assignment. Recursion and ASM go together like orange juice and toothpaste.
 

NuclearNed

Raconteur
May 18, 2001
7,869
361
126
IBM 370 Assembly Language was a required class for programmers at my school. It was the class the IS department used to weed out those slackers who weren't serious about their major.

<confession>
I had to take it 3 times. I failed the first two times, and got an A the third time. All three times I had the same instructor, the IS department chairman. The third time, everything just seemed to finally make sense.
<\confession>
 

bleeb

Lifer
Feb 3, 2000
10,868
0
0
Originally posted by: acemcmac
:cookie: and good luck when the TA catches you. 3 people were ejected from my school's compsci major program last week for cheating exactly like that.

I'm not saying it isn't hard as hell and that I wouldn't do the same thing... but I'd NEVER copy and paste anything, even if it was working and mine wasn't. fast way to fail.

yup they can easily check for cheating too.
 

AmigaMan

Diamond Member
Oct 12, 1999
3,644
1
0
ASSembly was fun, but could you imagine using it in the real world to build applications? Sometimes I'm in awe over those scientists back in the 50's and 60's that did this sort of thing all the time and got us to the moon on like 4k of code. You know those were some smart mofo's!!