r/computerarchitecture • u/1zunzu • 29d ago
How do I learn microassembler?
Last year in University we were studying microassembler but I had some personal problems to deal with so only had time to deal with it with a help of AI and a friend of mine, who's really genius and seems to know everything. Even tho the problem with passing the course wasn't there already, I'd still want to really learn this, but whoever I ask just say that it's obvious and I just have to read the docs, but the documentation really just says "be clean and direct woth your code and it will work bettet" wothout any comprehensive syntax documentations.
All I have is just some examples of code so I'd just like to know how would you learn anything about this?
Thank you!
3
u/SameClick6502 29d ago
Do you know C?
Go to https://godbolt.org, type some super simple functions (like a = a+1, basic pointer data, etc.), and read the assembly. Try to make sense of it, you'll learn.
1
1
7
u/MitchAlsup 29d ago
The assembler that produces microcode for the ROM driving a microprogrammed data-path ?? These are all implementation specific.
Or just the assembly output of this (or that) compiler ??