jupi wrote:
ei! im a student of computer science and i was just wondering how did u learn all the stuff needed to make a program like this using only assembly?!
we have assembly course but it only discusses the basic stuff and im wondering if you could maybe lead me into where i could learn more about assembly hehe.. i was really inspired by your program hehe i was thinking how to make one just like it and the algorithm needed was a little bit too hard for me to think! hahaha your really a good programmer and i hope i could be more like you in terms of skills in programming

hope u could help me become a better programmer

Hi Jupi,
I learned the assembly language around 1988 and now I use it very rarely for example in AndreaMosaic. But also that program I wrote in 1998, some years ago as you can see.
I don't suggest you to write a program entirely in assembler, it is a low level language useful for some task. AndreaMosaic was written at 99% in C++, and some core code in Assembler. With Visual C++ it's easy to integrate both languages.
Also for my job I write programs mainly in Visual Basic, because it take less time to make programs, then I integrate it with libraries and controls writte in C++ (and theorically also in Assembler).
Assembler language used inside C++ is easy to learn. But I suggest you to write first the program in C++ and only then change some code into Assembler, but only to speed up the program. If it's fast enough then you don't need that.
An example of C function:
Code:
inline int sum(int a, int b)
{
return a+b;
}
Same code changed into Assembler (note:
int is a 32 bit integer):
Code:
inline int sum(int a, int b)
{
_asm {
mov eax,a
add eax,b
}
}
In this case the change into Assembler is useless beause the compiler does the same job (or even a better job when integrated with other code).