Author Topic: I want to learn  (Read 1083 times)

Offline ahmedcrow

  • New Member
  • Posts: 1
I want to learn
« on: January 18, 2018, 05:14:16 PM »
Hello everyone, I'm worry about the best way to learn assembly, I knew that assembly is some clear under DOS system but I don't know how to learn assembly under Windows system, I tried to learn TASM by using DOSBox, I would like to ask about the proper modern assembler learners are using it in universities for example and how can I start learning, what's the sources that can teach me, what assemblers and debuggers I need, everything, I plan to be professional in assembly 'casue I think it can make me understand computers and programming very well.

Offline fullofbugs

  • Jr. Member
  • *
  • Posts: 4
Re: I want to learn
« Reply #1 on: May 11, 2018, 05:37:21 PM »
It’s painful, unnecessary and inefficient to write a whole program in assembly because the code is not portable and difficult to read/debug /maintain. Most people just use assembly to write functions that need to be optimized. In my case I use it to write SIMD codes that are not supported by the inline assembler I am using. There is also no reason to use DOSBox to learn assembly. FASM can produce binary for Windows console.
I think the easiest way to learn assembly is using a language that supports inline assembly and has a decent IDE. There are quite a few, and the one of top of my head is Turbo Delphi. Because it is free, the IDE is friendly, and BASM is quite good.  It uses Pascal but not c though.
On the other hand, there are websites that can do many for you. For example, you can write and execute code online at https://www.tutorialspoint.com/compile_assembly_online.php, although it lacks the tracing and debugging tools. You can also write c/c++ codes and learn how they are translated in to assembly (https://godbolt.org/).