sorry just want to ask some questions~~ :D
what kind of programming can ASM Language do?????
like what type of the program?
Printable View
sorry just want to ask some questions~~ :D
what kind of programming can ASM Language do?????
like what type of the program?
technically you can do anything in assembly you can do in C or any other programming language for that matter. I am slightly addicted to programming in assembly and that makes a LOT of people freak out.
A language is a language. It's not the particular language that has inherent power--it's what the programmer does with it. Give a newbie C, generally considered to be among the most powerful languages in existence, and you'll end up with "Hello, World." Give an old, crusty, but very competent programmer BASIC, a language designed for beginners, and, after he removes your head from your shoulders for foisting such a language on him, he'll create an operating system.
It's not how big it is............it's how you use it.
What KublaiKhan says it perfectly true. It all depends on what you want to do and can do.
>>like what type of the program?
ASM is generally complicated for new users (not that it's easy for expereinced either) so if you
want to make a calculator - dont use ASM
want to make a game - dont use ASM
want to make a graphics program - dont use ASM
but if you want to do something like
secure your PC boot process,
OS-networking stuff,
make deadly viruses ;)
etc then ASM is good.
Good point even though I seriously doubt anyone *ould program an operating system in BASIC. ;)
Personally, I've never cared much about asm because to me, it seems inefficent. I would be cool to know though.
ASM allows you to access hardware directly and you can do almost anything to your computer (or someone else's!) using it, which is why you should make sure you know what you are doing before messing around with it! :D
Assembly is somewhat OTT for most tasks though, it's usually easier and quicker to perform the same task in C, which is why the majority of *nix programs are written in that language. Unless you *have* to access hardware directly or need the maximum speed/minimum size executable, it's usually best to give assembly a miss and used C instead. Of course, in the good old days where hard disk space was measured in megabytes and memory was measured in kilobytes, assembly was often the only way to get tasks done in a reasonable amount of time, hence it's use in games such as Doom and Quake.
oh~~ thank to all of your for the respond
If you wanna play about with asm there is a good microcontroller simulator available in shareware called sms32v23 for Windows95/98/NT from this web site http://www.samphire.demon.co.uk/ hope this helps