Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Assembly language : Programming series

Featured Replies

Posted

Hello dear comrades,

"This is for all you folks out there, who want to learn the magic art of Assembly programming." - MAD

What is Assembly Language ?

Some people define assembly language as a language in which one line of source code generates one machine instruction. This has never been literally true, since some lines in an assembly-language source code file are instructions to the translator program and do not generate machine instructions. My own definition follows: Assembly language is a language that allows total control over every individual machine instruction generated by the translator program. Pascal or C compilers, on the other hand, make a multitude of invisible and inalterable decisions about how a given language statement will be translated into machine instructions. For example, the following single Pascal instruction assigns a value of 42 to a numeric variable called V: V : = 42: When a Pascal compiler reads this line, it outputs a series of four or five machine instructions that take the value 42 and store it in memory at a location encoded by the name I. Normally, you the programmer have no idea what these four or five instructions actually are, and you have utterly no way of changing them, even if you know a sequence of machine instructions that is faster and more efficient than the sequence the compiler uses. The Pascal compiler has its own way of generating machine instructions, and you have no choice but to accept what it writes to disk to accomplish the Pascal statements in the source code file. An assembler, however, has at least one line in the source code file for every machine instruction it generates. It has more lines than that to handle numerous other things, but every machine instruction in the final object code file is controlled by a corresponding line in the source code file. 'from assembly language step by step'

Why Learning Assembly Language Is Still a Good Idea ?

ASM language will provide you:

Edited by Noteworthy

Why Learning Assembly Language Is Still a Good Idea ?

ASM language will provide you:

  • Author
This is not always true, there are some quite smart compilers out there that can generate smarter code than you might think to do by hand in less time and effort. It's likely that you can write an error free program in a safe, high level language that runs just as fast (perceived) for most common cases. I do agree that there are cases in say, graphics, compression or number crunching that might be able to be optimized by hand if you are doing high performance code, but how many of us will ever need to do that? Often what a smart compiler for a higher level language generates is good enough.

Totally agree with you glaufan.

This is not always true, there are some quite smart compilers out there that can generate smarter code than you might think to do by hand in less time and effort. It's likely that you can write an error free program in a safe, high level language that runs just as fast (perceived) for most common cases. I do agree that there are cases in say, graphics, compression or number crunching that might be able to be optimized by hand if you are doing high performance code, but how many of us will ever need to do that? Often what a smart compiler for a higher level language generates is good enough.

and what you are talking has already been talked about a zillion times

The point is one may not need it but then as you said yourself someone will need it so the one who needs asm will learn it

besides reversers have a different reason to learn it ;)

Nice thread btw for a newbie

Edited by GEEK

  • 3 weeks later...

Thx for this Information

"Hanjian"

Thanks for links.

  • 7 months later...

good work dear Noteworthy,Asm Addict

  • Author

Hello,

Here is another interesting tutorial (FR) to introduce Assembly in Win32 platforme (Masm32 Package):

>http://www.developpez.net/forums/f20/autres-langages/assembleur/

Noteworthy.

Edited by Noteworthy

Wow nice post, missed it before. Should be a sticky imo

+1

  • 11 months later...

very Good。Mark。thanks!

I have missed this one too, was not active at the time. Nice contribution Noteworthy :thumbsup:

SC

  • 2 weeks later...

Please Guys, just a newbie. Please any place to get infos for a beginner like me. Thanks a lot

+++++++++++++++++++++Dexter++++++++++++++++++=

Nice Info

  • 11 months later...

I would like to share my modified MASM syntax file "masm.uew" for UltraEdit.

post-93-0-15168500-1316397116_thumb.png

masm_syntax_ultraedit.zip

Create an account or sign in to comment

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.