Do machine code instructions have corresponding physical designs in a CPU?

I'm trying to understand how a CPU processes bits. For example, with a jump, does the processor recognize that it's an incoming jump, then send the instructions off to the corresponding jump subsystem.

Apologies for incorrect vocabulary.

Posted Nov 20, 2017, 4:06 PM UTC

46
triscuitzop•

Looking up the fetch–decode–execute process may help you understand. Also to note, a jump instruction changes the "program counter" register, which is the address of the instruction the cpu is about to perform. This register is just like any other memory and an be changed.

3
patientdevOP•

Thanks! That give me something to go on. Good to know about the program counter too.

1
NeoMarxismIsEvil•

There is not a totally separate datapath implemented for each instruction if that's what you mean. Datapath designs aren't that inefficient. Instead there's a datapath with all of the functions needed to implement the instructions then there's a FSM that switches the signal routing around with muxes depending on the decoding of the instruction.

Here's some info: https://www.cise.ufl.edu/~mssz/CompOrg/CDA-proc.html

There is something called reconfigurable datapath architecture (rDPA) that does essentially use a different physical area for each "instruction", but it isn't a Von Neumann processor that fetches instructions.

1
patientdevOP•

Thanks for the explanation!

1
kickopotomus•

I think the LC-3 is pretty great teaching tool for an introduction to comp arch. Take a look at this powerpoint. Slide 14 shows the basic block design of a simple CPU. But to answer your question in short; no, CPU's generally do not have subsystems for individual instructions, but there are always exceptions depending on what the CPU is designed to do.

1
patientdevOP•

Definitely going to take a look at the LC-3. Thanks!

1