I love asm...

Baaecfb3a09127d5bc5045f89025e49e
0
UnknownStranger 101 May 02, 2003 at 13:55

I just love it… B)

It gives you direct controll over the controll flow, and lets you do stuff, which you didn’t even think about… :eek:

Of course it’s insane programming large programms in ASM, but I’m talking about little apps, or single functions, to either gain a nice performance increase,
or to do stuff, which you simply are not able to do in other languages…

So, what do you think? ;)

22 Replies

Please log in or register to post a reply.

F7a4a748ecf664f189bb704a660b3573
0
anubis 101 May 02, 2003 at 14:55

hm, i like it too but you have to be good to beat modern compiler’s optimizations…

0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 May 02, 2003 at 17:14

it’s also useful when other languages aren’t available.

590e8bdac8129bd87b188df15e62d0e5
0
CyraX 101 May 05, 2003 at 14:15

Have you seen the Assembly output(read: junk) that dear VC++ produces; YUCK!!!
Assembly rulez - however Intel Compilers are making life difficult.
Still there is nothing like what a man can do - optimizing using a compiler is always a shortcut.

203e4e77a4880ecbd91054865fc5d0b7
0
Phaetos 101 May 17, 2003 at 20:25

I used to like asm, too. It was the second language I learned after Basic on my C64 *g*.
Yes, I am a bit old (30 Years now). I really liked Assembler back on the Amiga as it was
nearly as easy as Basic but much faster :lol:

Today I don’t use assembler anymore as I noticed that the extra time I spend in
optimize algorithms is better than to need the same time to implement a
somewhat slower algorithm im assembler…….

0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 May 18, 2003 at 08:41

lol. Phaetos, you’re nearly dead.

Man, the amigas were the greatest. I never got into coding on them (I was too young) but I’ve still got my 500+.

065f0635a4c94d685583c20132a4559d
0
Ed_Mack 101 Jul 16, 2003 at 02:30

Aww, I had a 500+, it was my lovechild :D I sat and made strange things in BASIC all day long, it was great fun. At that time I had no real idea how much programming could do, but was able to make use of the joystick and the circle drawer :) I miss it now come to think of it..

Now gcc + Flash make up my programming/scripting suppliment.

0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 Jul 21, 2003 at 21:55

I’m going to be bringing my 500+ out of retirement soon, as an old friend is coming over and we have fond memories of playing on it as a child.

545a4a0985e6053873a2500bd757fd1b
0
robirt 101 Jul 22, 2003 at 00:14

What is a good book or Online resource for learning ASM??

Baaecfb3a09127d5bc5045f89025e49e
0
UnknownStranger 101 Jul 22, 2003 at 06:58
6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Jul 22, 2003 at 09:48

i’m just starting to let asm get a revieval (spelling?) for my engine, all gets written now in sse simd.. hehe:D its fun

Baaecfb3a09127d5bc5045f89025e49e
0
UnknownStranger 101 Jul 22, 2003 at 11:39

@davepermen

i’m just starting to let asm get a revieval (spelling?) for my engine, all gets written now in sse simd.. hehe:D its fun

:)

F4c5cc867a73ee7eb1fd0b0caa5571c1
0
hanzac 101 Jul 26, 2003 at 10:44

asm is second
algorithm is first

6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Jul 26, 2003 at 10:56

structure is first
savety is second
algorithm is third
asm is fourth

or some other between..

F4c5cc867a73ee7eb1fd0b0caa5571c1
0
hanzac 101 Jul 26, 2003 at 10:59

i think structure & security should be concerned with algorithm.

6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Jul 26, 2003 at 11:04

nope. algorithm is about how to solve a specific problem

structure is how to organize your algorithms so that they are manageable

and savety has to be done without relying on savety of the algorithm or the asm or what ever. your app should NEVER crash, no mather what your app consists of. that is doable (on a system that doesn’t crash itself, meaning a WHQL certified win2000 system for example, or a linux system if you like that:D)

F4c5cc867a73ee7eb1fd0b0caa5571c1
0
hanzac 101 Jul 26, 2003 at 11:12

sometime before i didn’t care about the algorithm,
i did care about the mechanical tips …

so foolish , isn’t it? :rolleyes:

6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Jul 26, 2003 at 13:14

hm.. hm? dunno..

i’m currently quite in a stress in knowing that i have to care about all those different levels.. algorithms that will fit to asm, have savety and be well structured..

MY BRAIN HURTS!!! :D

545a4a0985e6053873a2500bd757fd1b
0
robirt 101 Jul 30, 2003 at 02:59

Angel_of_Death: www.google.com

Thanksa lot. I’m sure google will provide a good opinion on which books are better than others. :P I guess Ill just pick one and hope it’s good…

Baaecfb3a09127d5bc5045f89025e49e
0
UnknownStranger 101 Jul 30, 2003 at 04:43

Well robirt, google is one of the online ressources you asked for… ;)

Well, I don’t know any books about asm, but maybe somebody else does…?

4851117d61425bafb6c034e0f595d517
0
DrunkenCoder 101 Jul 30, 2003 at 06:01

just google for “Art of Assembly language” it’s a free bok availble online, just print it out at school or something ‘cuz it weights in at \~1200pages if memory serves me right.

6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Jul 30, 2003 at 06:24

there are quite some documents on intels and amds homepage concerning their assembler instructions, how fast wich one is, what they do, and how you can write optimal code..

4851117d61425bafb6c034e0f595d517
0
DrunkenCoder 101 Jul 30, 2003 at 07:02

The Intel manuals can be found here they’re good refrence material but I suggest getting some tutorials or a book to get you started.