answersLogoWhite

0

what is proceessor

Processor is hardware. Micro code is a mini-program for each machine language code.

Microcode is a series of 1's and 0's that control hardware, on a computer. on most computer systems we have an address bus, data bus, and lines like chip select, R/W, and registers. etc.

Typically we write a computer program is a higher language: 'C', BASIC, JAVA.

We run this code thru a compiler. Which translates this into both machine code and assembly language.

We can tell the computer to run the machine code, and processor translates this into microcode.

Most processors will have instructions(machine code/assembly language) and assigned codes: ADD=01, STORE value=02, GET value=25, NOP, etc. when the computer/processor is running and reads one of these codes, it launches the the microcode for the current instruction. Each of these instructions could be 1-8 steps. And each microcode instruction might be up to 100+ bits long.

'C' language

total = numberx + numbery;

compling this yields:

machine code assembly language

251002 GET 2 // get data from memory location 2

251005 GET 5

0110021005 ADD 2,5 // add memory location 2 & 5

021006 STO 7

// note addresses are now in binary. so 5=0101

microcode example:

c/s R address1 address2

1 0 0010 0000

1 0 0101 0000

0 0 0010 0101

1 1 0111 0000

Caveats: most processors have internal registers, for simplicity I left this out.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Instructions which are permanently built into the processor chip are called?

Microcode.


Which CPU component contains microcode?

EEPROM or PROM contains the microcode


Are instructions which are permanently built into the processor chip called microcode?

Called Microcode


Which language computer can understand directly?

People will say machine code but that actual truth is microcode. Microcode is actually a level lower than machine code, providing a platform from which machine code can be executed on. Microcode is the actual language of the hardware.


How many bits for a control word of microcode?

Some CPUs have a "wide" microcode word of more than 56 bits. Some very simple CPUs, such as Viktor's Amazing 4-bit Processor, have a "narrow" microcode word of less than 8 bits.


Programmers use instructions to program a PROM chip?

Microcode


What is the code used to program a computer?

binary and below that, microcode.


Instructions which are permanently built into the processor chip are called what?

the correct answer is Microcode


Programming in High Level Language?

No. It's machine code and microcode.


WHAT part of the processor is responsible for directing actions performed by the processor?

When an instruction reaches a microprocessor it arrives at an internal block known as a "microcode sequencer" which is present in CISC architectures. This microcode sequencer then steps through a series of locations in the microcode ROM and issues control signals to the various registers, multiplexers, ALU, etc in the microprocessor. RISC architectures lack this microcode sequencer, but have a similar construct known as a microcode translator or interpreter. Because RISC machines must complete execution in a single clock cycle, there aren't any "steps" to cycle through. Remember that RISC instructions are inherently more simple than CISC instructions.


What is Micro Program Control Unit?

A micro program control unit is the underlying hardware that executes microcode. In turn, microcode is the code that is executed in order to process instructions, or code. In modern processors, an instruction is fetched from some area of memory (one or more bytes of memory), and is then parsed and executed by microcode. Microcode runs on the various gates and transistors that comprise the CPU. One might consider microcode to be the operating system ("OS") of the CPU, just as Windows, Linux, Android, etc, is consider the OS of the computer. Microcode allows a standard chipset to be programmed in different ways, altering its behavior completely. Optimizing microcode results in certain operations taking less or more time, allowing the same basic chip hardware to be specialized for certain types of tasks, such as favoring mathematical calculations or memory processing. Intel and AMD both offer "IBM-compatible" processors that expose the same set of instructions, but their microcode is different and reflects different interests in processing. Different iterations of the same chipset can be released that offer different characteristics without modifying the actual hardware. Furthermore, hardware-based designs (e.g. circuit programming) is relatively difficult and error-prone as compared to microcode programming. A mistake in microcode can be corrected simply by altering the code, while a mistake in a hardware design might require significant time and cost redesigning the entire circuit.


When were the floppy disks introduced?

1971 by IBM for loading microcode on the System/370