M
M
Mimuss2017-08-04 22:31:30
Books
Mimuss, 2017-08-04 22:31:30

Assembly language for a beginner?

Gentlemen, are there any books or courses to get a general picture of how Assembler works? Not for professional needs, but for self-development (by this I mean not a hardcore journey through a book of 1000+ pages). Also, as far as I understand, in order to understand assembler, you need to have some knowledge in the field of computer architecture, so I ask for advice on something from this area (better in a combination of ass + architecture).

Answer the question

In order to leave comments, you need to log in

6 answer(s)
J
JSmitty, 2017-08-05
@Mimuss

What is assembler for? Intel has x86 (32-bit) and x64 (64-bit) architectures, modern processors still have to execute 8086 code (16 bits). Asm under Windows is another occupation, kmk, and the practical benefit is doubtful.
If anything - modern assemblers - there are few of them relevant left. Linux has gas (at & t syntax), and win / linux nasm (intel syntax, more human), for Windows in Visual Studio there is a successor to masm (including x64).
On NASM there is a free book by Stolyarov , x86 assembler for Linux 32-bit is described.
But from a practical point of view, it's better to spend time learning some kind of AVR, MSP403 or PIC - it is much simpler, there are a lot of real applications so far, and the architecture itself is simple. Test on a simulator or a cheap Arduino. Then you can teach ARM for cortexes, also some kind of practical benefit - see https://habrahabr.ru/post/274541/ . Although since ARM people have been programming mainly in C, a good course is here - https://www.edx.org/course/embedded-systems-shape-...

D
devalone, 2017-08-04
@devalone

Gentlemen, are there any books or courses to get a general picture of how Assembler works

What is there to understand? The assembler takes the program and converts it line by line into machine codes, it was inc eax became 0100 0000.
And if all the same, to understand how a computer works, then I advise you to start with "Code. The secret language of computer science", then Tanenbaum

D
Dmitry, 2017-08-07
@Dit81

There was such a selection and even a book by Kalashnikov ... Here it is just for absolute beginners in Assembler. All the basics were there. And then only reference books on calls and interruptions ... I also recommend the book “Hacking. The Art of the Exploit" by John Erickson, also from the basics and assembler...

L
Ltonid, 2017-08-05
@AtaZ

Once upon a time, I studied on my own as a first language. high-level did not answer my questions. Now it helps a lot when working with any programming language. I don’t remember the book, the only thing I’ll give advice:
1) Books with the word self-instruction manual or a course in the trash. Textbook, manual, introduction and any other artistic names to take.
2) Take any book on assembler, open the middle and read 3 paragraphs. If you understand everything, no, it’s better not to.
3) In the ideal, the older the book, the better, excluding reprints, but you need to read what has changed during the reprint.
4) You should also immediately decide on the type of compiler masm, tasm or something else.

A
Alex F, 2017-08-10
@delvin-fil

fasm
offsite
Obsolete tutorial

V
Vyacheslav Osipov, 2017-08-26
@MakeVarNotWar

asmworld.ru/uchebnik

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question