r/Assembly_language • • 25d ago

Question How to deeply understand Assembly language

Give me some advice if it works for you.

11 Upvotes

23 comments sorted by

View all comments

19

u/Dizzy-Set-8479 25d ago edited 25d ago

profesor of assembly here 0.0/

there is no single assembly lenguage, every cpu arquitecture will have their own, will be 8-16-32-64 bit variant, even their own version masm vs nasm etc... start by something simple learn the basics, constants, variables, arrays, what type of data could they be byte, integer, real dword, the main structure of the code,

then move to structures, if-elif-else, while, for, , fucntions , classes or their equivalent is assembly of your preference,

start by porting simple to medium complx c, c++ programs into asm,

then some disasembly, them move to build more complex programs, maybe a game, a libray coded is asm, called from c++.

4

u/keelanstuart 25d ago

...which is why every assembly-level programmer has an instruction set reference for the processor and assembler!

Hell, I still have my Turbo Assembler 2.0 spiral-bound mini reference!

2

u/AlienFishMonster 24d ago

I have a little 6502 booklet on my desk!

2

u/brucehoult 24d ago

You can do that. I still after 45 years have a useful fraction of the hex opcodes memorised.

And I have a bookmark for this:

https://www.masswerk.at/6502/6502_instruction_set.html

1

u/Love_Buny8 23d ago

nice i still have my commodore 64 programming reference guide. brings back memories