Questions tagged [microcoding]

Microcoding involves writing the code and data structures that make up the machine code instructions in processors.

Microcode is a layer of hardware-level instructions or data structures involved in the implementation of higher level machine code instructions in central processing units, and in the implementation of the internal logic of many channel controllers, disk controllers, network interface controllers, network processors, graphics processing units, and other hardware. wikipedia

23 questions
49
votes
17 answers

Is there a programming language "below" Assembly?

Is there a programming language "below" Assembly?
Tal
17
votes
4 answers

How does machine code communicate with processor?

Let's take Python as an example. If I am not mistaken, when you program in it, the computer first "translates" the code to C. Then again, from C to assembly. Assembly is written in machine code. (This is just a vague idea that I have about this so…
JoeSlotsky
  • 783
  • 2
  • 7
  • 8
14
votes
1 answer

What is a microcoded instruction?

I have seen a lot of literature referencing microcoded instructions. What are these and why they are used?
user6754053
7
votes
5 answers

Do x86/x64 chips still use microprogramming?

If I understand these two articles, the Intel architecture, at it's lowest level, has transitioned to using RISC instructions, instead of the the traditional CISC instruction set that Intel is known…
Sajee
  • 4,317
  • 14
  • 46
  • 54
6
votes
1 answer

How can memory destination BTS be significantly slower than load / BTS reg,reg / store?

In the general case, how can an instruction that can take memory or register operands ever be slower with memory operands then mov + mov -> instruction -> mov + mov Based on the throughput and latency found in Agner Fog's instruction tables (looking…
Noah
  • 1,647
  • 1
  • 9
  • 18
4
votes
1 answer

CPU: Program inside CPU that determines exact principal of instructions (?!)

At Computer Science lecture we’ve been told that there’s a special code (lower that assembler) that determines behavior of CPU which is written inside CPUs ROM. It was meant that is determines what exactly every instruction in boolean logic means……
Ben Usman
  • 7,969
  • 6
  • 46
  • 66
4
votes
1 answer

Microcode terminology: are there names for different "styles" of microcode?

I've been looking at microcode and wondered about terminology. The "classic" use of microcode is to replace the processor control logic with microcode to generate the processor control signals. But there are some systems that go much further and…
Ken Shirriff
  • 1,654
  • 16
  • 20
3
votes
2 answers

Microprogramming in MIPS

I am learning about micro programming and am confused as to what a micro-instruction actually is. I am using the MIPS architecture. My questions are as follows Say for example I have the ADD instruction, what would the micro-instructions look like…
3
votes
1 answer

Fetch Microoperations for CALL

I am trying to understand how the fetch cycle would be written in micro-operations for a CALL instruction of 32 bits were to be fetched by the cpu. MAR is 16 bits wide MDR is 8 bits wide PC is 16 bits wide IR is 16 bits wide Temp registers are 16…
Jim Newtron
  • 227
  • 5
  • 11
2
votes
3 answers

How do I use microprogramming to modify the instruction set architecture of an Intel CPU?

Suppose I wanted to modify the implementation of an existing instruction. For instance, suppose I wanted to change the microcode that is executed by my processor when a "mov" instruction is executed after being fetched and decoded. How would I do…
James
  • 21
  • 2
2
votes
2 answers

What exactly is a machine instruction?

The user's program in main memory consists of machine instructions and data. In contrast, the control memory holds a fixed microprogram that cannot be altered by the occasional user. The microprogram consists of microinstructions that specify…
2
votes
2 answers

What is the difference between bytecode and microcode?

I was reading on wikipedia about machine code, microcode and bytecode. It seems that microcodes are something more low-level than machine code, while bytecodes seem to be more high-level. I didn't realy get how something can be more low-level than…
2
votes
1 answer

Low Level GUI Programming

How are gui's created at the lowest level? In Java, one may type in a JFrame method and create a window. At some point, this window must be coded pixel by pixel. Is this done by assembly, machine code, or microcode in the processor?
1
vote
1 answer

Intel microcode update version number meaning

I need having two microcode version for the same CPU to understand which one is newer (includes fixes from another). Microcode version is not monotonous so it can decrease with an update. Based on what I have seen microcode version is a number less…
1
vote
1 answer

LED not glowing on off by push button with PIC18f2455 in Proteus

I searched around much to glow the LED on pressing PUSH Button in Proteus . But LED glows on its on and do not turn Off on pressing Push Button in Proteus. I am working on Simulation with PIC18F2455 and here is the MicroC code. void main() { …
Nabeel Raza
  • 71
  • 1
  • 8
1
2