Jump to content

What can we learn from Assembly language??

Featured Replies

If we learn Assembly language instead of language such as java, c, python, etc...

 

what can we actually learn from it???

 

By the way, is there a difference in Assembly language on different architecture of hardware??

 

Albert

You can learn that it is a pain in the ass.

 

Assembly language is mostly useless, since it only works for one particular architecture and is so low-level that it is downright tedious. There are some amusing uses, like MenuetOS, which is a small operating written completely in assembly that fits onto one floppy disk. This is of course just for fun though, and there is no reason why you would ever really want to use it.

Using Assembly you can do with you computer almsot everything. If you know Assembly you can control every operation executed by your comp. You can do all sort of stranhe and funny things like binding the button "a" to write any word you want or any other function. You can burn you monitor up (the new monitors have all sorts of protections, though) or kick your hard disk's arse out of the room (exaggerating lol).

and as your power unit (PSU) has a fuse in it and there should be protection on your monitor that is a bit of an exaggeration too, but we get the general idea!

  • Author

hmm...

 

Do people program in "machine code"??

 

I find no books teaching "machine code"...

 

Albert

Assembly was used to write the BIOS probably not anymore. Probably still used in some eproms for other devices. Useful to learn about computer hardware at the chip level.

  • Author

How long do your guys think to learn assembly language?

 

Albert

depends on how fast you learn and how much detail you go into.

It's not a very complex language - it's just that programming in it takes forever as you are at a very low level of abstraction.

You can learn that it is a pain in the ass.

 

Assembly language is mostly useless' date=' since it only works for one particular architecture and is so low-level that it is downright tedious. There are some amusing uses, like MenuetOS, which is a small operating written completely in assembly that fits onto one floppy disk. This is of course just for fun though, and there is no reason why you would ever really want to use it.[/quote']

 

The other (quite handy) use is when you have an algorithm that needs to be run extremely quickly. Compilers don't tend to do a very good job when it comes to optimization; if you use assembly to program these procedures, it speeds things up a lot.

Quite true dave, thanks for the reminder.

 

Creating a prime number finder in assembly would be cool.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.