what is the importance and usage of assembly code nowadays? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

what is the importance and usage of assembly code nowadays?

8th Sep 2017, 11:21 PM
leonardo black
leonardo black - avatar
10 Answers
+ 11
Assembly still has a variety of uses. It is often used in AAA games, Flight Control software, embedded hardware (as Bernd pointed out) and various other things. Although c/c++ compilers are excellent at optimisation and are getting better everyday there are still instances where manual assembly outperforms.
9th Sep 2017, 12:06 AM
jay
jay - avatar
+ 12
Yes we can program directly in Assembly. See here for a short introduction to x86 Assembly: http://www.cs.virginia.edu/~evans/cs216/guides/x86.html There is also x64 Assembly: https://software.intel.com/en-us/articles/introduction-to-x64-assembly
9th Sep 2017, 12:28 AM
jay
jay - avatar
+ 12
Yes. It can be used to reverse engineering a program. But you will not see the actual code used to create the original program. If you search youtube there are several videos which demonstrate this using custom programs for you to practise on. It is not really the primary function of assembly though. It has many constructive uses
9th Sep 2017, 12:44 AM
jay
jay - avatar
+ 10
Just a side note: Writing a full GUI application purely in Assembly is not really a great use of ones time. You are much better off using c/c++ to do so. then if you discover bottlenecks are present that cannot be optimised out using c/c++ then use assembly.
9th Sep 2017, 12:35 AM
jay
jay - avatar
+ 4
Just a side: http://www.mediafire.com/file/9sj5pe6bdr46q4a/ (the MASM that can be installed without installation of Visual) (What I mean is Officical MASM must install Visual which is not free)
9th Sep 2017, 1:34 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 3
you can still program little microcontrollers, e.g. used in washing machines or to control electronic stuff. look for atmel Studio and Start with atmega16 tutorials. unfortunaltely u will need Windows for using atmel Studio IDE since the company has sold its soul to Microsoft
8th Sep 2017, 11:28 PM
Bernd Setzer
Bernd Setzer - avatar
+ 2
nice bernd i will look for it, I was searching for assembly and discovered that when Intel amd or any other manufacturer add new features to the processors sometimes the only way to access this features is with assembly scripts
8th Sep 2017, 11:40 PM
leonardo black
leonardo black - avatar
+ 1
oh jay, so we can program in assembly with c or cpp is it? im interresed in the begin of programation, sorry for any english mistake im brazilian and my english isnt so good at now
9th Sep 2017, 12:14 AM
leonardo black
leonardo black - avatar
+ 1
thanks jay i iwll study in this sites
9th Sep 2017, 12:30 AM
leonardo black
leonardo black - avatar
+ 1
understand, i think the assembly can be used in cracker programms because once you run a code is difficult to do a reengeenering
9th Sep 2017, 12:42 AM
leonardo black
leonardo black - avatar