• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How they work instructions in the processor

BHZ-GTR

Member
Hi Friends

I'm curious to know how they work instructions into the CPU processor and do what they are.

Like: AVX - AES - SSE - MMX And ...

And which language is written

Please suggest me a good article to read.
 
Like: AVX - AES - SSE - MMX And ...
And which language is written
Please suggest me a good article to read.
Microcode and hardware functions. Some instructions are micro-coded (the longer, more complex ones). Those use a micro-code ROM in the CPU, or possibly SRAM that is loaded by the micro-code patch level in the system BIOS when it boots. The others are actually literally implemented as a sequence of transistors and logic gates in the hardware.

As far as "language", look up VHDL.
 
I don't know what your level of knowledge is with CPUs and instructions, but if you don't know anything it is probably easier to look at 8-bit micro controllers first, especially since most can be considered RISC (reduced instruction set).

Also, "how an instruction works" is a bit vague, are you asking on a language level? Transistor level? Somewhere between the two? I mean, fundamentally an instruction is the series of 1s and 0s that tells a CPU what to do, the closest "language" is probably assembly.

I don't know of any good articles/websites but I can point you to some textbooks.
 
Last edited:
Back
Top