PDA

Click to See Complete Forum and Search --> : ASM here


holysea
March 19th, 2002, 07:21 AM
sorry just want to ask some questions~~ :D


what kind of programming can ASM Language do?????

like what type of the program?

Cheeseball
March 19th, 2002, 07:37 AM
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.

KublaiKhan
March 19th, 2002, 08:57 AM
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.

ihsir
March 19th, 2002, 10:17 AM
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.

Mankan
March 19th, 2002, 10:18 AM
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.

pwaring
March 19th, 2002, 10:38 AM
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.

holysea
March 20th, 2002, 03:56 AM
oh~~ thank to all of your for the respond

THE-OMEN
March 21st, 2002, 01:05 PM
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