resources for learning assembly language

Talk about anything
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

resources for learning assembly language

14 Oct 2018, 19:55

It would be interesting to hear of any recommended resources for learning assembly language. Thanks.

key words: instructions, stack, registers/flags
further terms: prologue/epilogue
further terms (stack): stack overflow/stack underflow, LIFO, push/pop
further terms (order of operands): Intel syntax/AT&T syntax

[videos (by HackUCF)]
x86 Assembly Crash Course - YouTube
https://www.youtube.com/watch?v=75gBFiFtAb8

[videos (by Young Sloth Learning)]
Writing a Function in Assembly: Intel x86 Att Assembly Stack Part 1 - YouTube
https://www.youtube.com/watch?v=5iQkR69H_1M
Writing a Function in Assembly: Intel Att Assembly Stack Part 2 - YouTube
https://www.youtube.com/watch?v=7ukTs4Bi7hI
Writing a Function in Assembly: Intel Att Assembly Stack Part 3 - YouTube
https://www.youtube.com/watch?v=seo5Es4pycs
GCC Calling Conventions: Intel Assembly Att Stack - YouTube
https://www.youtube.com/watch?v=uyRZRnJLqEY

[videos (by What's a Creel?)]
Modern x64 Assembly - YouTube
https://www.youtube.com/playlist?list=PLKK11Ligqitg9MOX3-0tFT1Rmh3uJp7kA
Top 20 ASM Instructions Every Programmer Should Know - YouTube
https://www.youtube.com/watch?v=j8xkTAVYAxo
The Infamous XOR Swap - YouTube
https://www.youtube.com/watch?v=7A8yuHnhars

[videos (by kupala)]
x86_64 Linux Assembly #5 - Math Operations and the Stack - YouTube
https://www.youtube.com/watch?v=NFv7l3wQsZ4

[registers/flags]
FLAGS register - Wikipedia
https://en.wikipedia.org/wiki/FLAGS_register
X86 Assembly/X86 Architecture - Wikibooks, open books for an open world
https://en.wikibooks.org/wiki/X86_Assembly/X86_Architecture
X86 Assembly/16 32 and 64 Bits - Wikibooks, open books for an open world
https://en.wikibooks.org/wiki/X86_Assembly/16_32_and_64_Bits
Table_of_x86_Registers_svg.svg
https://upload.wikimedia.org/wikipedia/commons/1/15/Table_of_x86_Registers_svg.svg
x86 - Wikipedia
https://en.wikipedia.org/wiki/X86
Why does the x86 have so few registers? – The Old New Thing
https://blogs.msdn.microsoft.com/oldnewthing/20040105-00/?p=41203

[instructions]
Mirror of: Into the Void: x86 Instruction Set Reference
https://c9x.me/x86/
x86 instruction listings - Wikipedia
https://en.wikipedia.org/wiki/X86_instruction_listings
x86 Assembly - Wikibooks, open books for an open world
https://en.wikibooks.org/wiki/X86_Assembly
X86-assembly/Instructions - aldeid
https://www.aldeid.com/wiki/X86-assembly/Instructions
coder32-abc edition | X86 Opcode and Instruction Reference 1.12
http://ref.x86asm.net/coder32-abc.html
x86 and amd64 instruction reference
https://www.felixcloutier.com/x86/index.html
Intel Instruction Set
https://web.itu.edu.tr/kesgin/mul06/intel/index.html

[instructions (further)]
IntelCodeTable.pdf
http://www.jegerlehner.ch/intel/IntelCodeTable.pdf
[Top 20 instructions of x86 architecture]
x86 Machine Code Statistics - strchr.com
https://www.strchr.com/x86_machine_code_statistics
Intel® 64 and IA-32 Architectures Software Developer Manuals | Intel® Software
https://software.intel.com/en-us/articles/intel-sdm
assembly - Difference between JE/JNE and JZ/JNZ - Stack Overflow
https://stackoverflow.com/questions/14267081/difference-between-je-jne-and-jz-jnz

[FASM (flat assembler)]
flat assembler
https://flatassembler.net/
flat assembler
https://flatassembler.net/docs.php?article=manual
flat assembler - Search
https://board.flatassembler.net/search.php
flat assembler - Live streams
https://board.flatassembler.net/topic.php?t=20864

[FASM + AutoHotkey]
Machine code binary buffer searching regardless of NULL - Scripts and Functions - AutoHotkey Community
https://autohotkey.com/board/topic/23627-machine-code-binary-buffer-searching-regardless-of-null/

[FASM + AutoIt]
The Embedded Flat Assembler (FASM) UDF - AutoIt Example Scripts - AutoIt Forums
https://www.autoitscript.com/forum/topic/111613-the-embedded-flat-assembler-fasm-udf/
Extended Flat Assembler - Memory Management, Creating Standalone Machine Code Functions - Updated x64 support - AutoIt Example Scripts - AutoIt Forums
https://www.autoitscript.com/forum/topic/154623-extended-flat-assembler-memory-management-creating-standalone-machine-code-functions-updated-x64-support/
_AssembleIt() for FASM.au3 now with "Debugger" - AutoIt Example Scripts - AutoIt Forums
https://www.autoitscript.com/forum/topic/121079-_assembleit-for-fasmau3-now-with-debugger/
AutoIt Inline Assembly UDF - AutoIt Example Scripts - AutoIt Forums
https://www.autoitscript.com/forum/topic/86672-autoit-inline-assembly-udf/

[further links]
Art of Assembly Language, PDF Files
http://flint.cs.yale.edu/cs422/doc/art-of-asm/pdf/
pdf slides
http://rayseyfarth.com/asm/pdf/
x64 Software Conventions
https://msdn.microsoft.com/en-us/library/7kcdt6fy.aspx

[ASM/C++ to machine code]
InBuf function currently 32-bit only (machine code binary buffer searching) - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=28393
case-insensitive searching in binary buffers - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=58103
ASM: ASM (assembly language) to machine code via FASM (flat assembler) - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=23&t=49638
C++: C++ to machine code via TDM-GCC - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=23&t=49554
MCode4GCC -- C/C++ to MCode Generator - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=4642
best AutoHotkey machine code functions - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=32242
InBuf function currently 32-bit only (machine code binary buffer searching) - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=28393&p=219717#p219717
Machine code binary buffer searching regardless of NULL - Scripts and Functions - AutoHotkey Community
https://autohotkey.com/board/topic/23627-machine-code-binary-buffer-searching-regardless-of-null/
Machine code functions: Bit Wizardry - Scripts and Functions - AutoHotkey Community
https://autohotkey.com/board/topic/19483-machine-code-functions-bit-wizardry/
GitHub - HelgeffegleH/buf: Functions for searching in and writing to buffers
https://github.com/HelgeffegleH/buf

[videos (by AndreyKamianetsky)]
005 Calling Conventions Part 1 - YouTube
https://www.youtube.com/watch?v=BM1aIq-SPDU
006 Calling Conventions Part 2 - YouTube
https://www.youtube.com/watch?v=OQ2iBks7Lyo
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
SOTE
Posts: 1426
Joined: 15 Jun 2015, 06:21

Re: resources for learning assembly language

27 Dec 2019, 01:32

This is some good information and well done helpful research. Should arguably be under the ASM section for Other Programming Languages.

Return to “Off-topic Discussion”

Who is online

Users browsing this forum: No registered users and 44 guests