What will be the correct micro processor /controller to get a in depth knowledge of processor and assembly language? i have tried learning 8086 without completely knowing about assembly language and that each family of microprocessors have their own assembly language . Can somebody suggest the most basic processor to start with
Asked
Active
Viewed 45 times
0
-
Sounds pointless. You would better study assembly based on the processor which you intend to work with, rather than for just some arbitrary processor. – Feb 02 '22 at 12:36
-
I want to know how a computer works .I don't have any specific processor to work on right now – Nishant Feb 02 '22 at 12:38
-
Can You please suggest me. A processor to know the basics. – Nishant Feb 02 '22 at 12:39
-
There's no such thing as "how a computer works". Different computers work in different ways. – Feb 02 '22 at 12:41
-
Then also suggest a processor which would be correct for a begginer – Nishant Feb 02 '22 at 12:44
-
Generally, the older a processor design is, the simpler it is, so if you're going for simplicity, by all means study e.g. the [Intel 4004](https://en.wikipedia.org/wiki/Intel_4004), but once you need to start coding you'll need to know about the CPU that you physically have at your disposal. – 500 - Internal Server Error Feb 02 '22 at 12:49
-
Can't I use other cpu for learning other cpu? – Nishant Feb 02 '22 at 12:52
-
Casually asking how did You started learning assembly language? – Nishant Feb 02 '22 at 12:54
-
3@500-InternalServerError: There are some simplified toy ISAs like LC-3, and MIPS or RISC-V are common real-world choices for simpler ISAs without a lot of "weird stuff" that gains real-world efficiency. (e.g. simple immediate encoding, unlike AArch64). Mainstream C compilers can target MIPS and RISC-V, which is a huge advantage since then a machine can make examples for you. – Peter Cordes Feb 02 '22 at 13:00
-
2Me? Mostly by looking at the CPU/disassembly window of the debugger for bits of code that I'd written in higher level languages, and then by reading books about it when seeing something I didn't understand (this was before the internet). – 500 - Internal Server Error Feb 02 '22 at 13:00
-
I started out learning asm on an Atari ST, for its m68k CPU. That was what I / we (my dad) had at the time, and GCC ran so slow on it that I started playing around with the asm directly while optimizing a fixed-point Mandelbrot fractal program. m68k is a nice clean ISA to learn, without any 8086 segmentation weirdness, but OTOH modern x86 uses a flat memory model so segmentation isn't an issue there, either. – Peter Cordes Feb 02 '22 at 13:03
-
: O I started C just 2-3 months ago – Nishant Feb 02 '22 at 13:04
-
I guess pretty much basics of C are clear to me and I can create some programs – Nishant Feb 02 '22 at 13:05
-
So should I go with Assembly or should I learn something else before going to assembly – Nishant Feb 02 '22 at 13:06
-
1Anyway, questions like this asking for recommendations on how to start learning something are clearly off-topic for SO ( [ask] / [help]). So it should be closed, although it's fine to keep commenting I guess. And it's not the first time someone has asked this, so I closed it as a duplicate of some existing Q&As. – Peter Cordes Feb 02 '22 at 13:06
-
This confusion is eating me and my college is going slow af I want to advance but I don't know which way to advance in. – Nishant Feb 02 '22 at 13:07
-
1Learning actual 8086 (with 16-bit real mode segmentation) is definitely *not* what I'd recommend learning first. It's fairly easy to understand segmentation once you already understand how CPUs work and how assembly language works, and understand the problem it was designed to solve. But learning it at the same time as asm basics just makes that harder. – Peter Cordes Feb 02 '22 at 13:51
-
Please guide me Till now I haven't understand which one to start on? – Nishant Feb 02 '22 at 15:48
-
So what should I do first????? – Nishant Feb 02 '22 at 15:49
-
Should I learn cpu architecture first ?? – Nishant Feb 02 '22 at 16:20