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
1
vote
4 answers

lower level assembly language? (how are processor instructions implemented?)

So the lowest level we can "program" is individual instructions on a processor, but those instructions had to be programmed somehow in the first place. How does a processor know what to do when an instruction is run?
Gordon Gustafson
  • 40,133
  • 25
  • 115
  • 157
0
votes
0 answers

Micro-assembly language how to do loop arithmetic shift right

ixor1 MAR = SP = SP - 1; rd // takes next to word on stack ixor2 OPC = TOS // OPC is number of bits to shift 2 ixor3 H = MDR // H is the number to be shifted 5 // What i need to do is…
0
votes
0 answers

Difference between Assembler and CPU's Control Unit

According to Google an assembler is a program for converting instructions written in low-level symbolic code (assembly language?) into machine code. Machine code being a computer programming language consisting of binary or hexadecimal instructions…
Bryan
  • 41
  • 4
0
votes
1 answer

Microcontoller AT89C52 - display with port 0

I write a program to display some number on 7seg dispaly by port 0. And i have a problem, if i want to do it with port for exmaple 2 i works great. By when i use port 0 it does not work. What i do wrong. Here is my code: #include char…
AdamKa
  • 41
  • 5
0
votes
1 answer

Connection between microprogramming and embedded systems

What is the connection between microprogramming and embedded systems? Is microprogramming a machine language? Microprogramming it is the same as microcode? Are embedded systems manufactured using microprogramming only? Or isn't it an exclusivity of…
ℛɑƒæĿᴿᴹᴿ
  • 4,983
  • 4
  • 38
  • 58
0
votes
1 answer

ALU overflow status bit & COND address

The COND field or the microinstruction word is 2 bits with four possible different codes: 00 for no jump; 01 for jump if N=1; 10 for jump if Z=1; 11 for jump always. If one of these codes were needed to test a newly implemented ALU overflow status…
0
votes
1 answer

How is array element located without array iterating?

It is said that array element access is quick in a programming language knowing a numerical index of the element. I assume this is because computer memory is kind of like an array with each memory slot having a numerical address. So, knowing the…
-2
votes
1 answer

Meaning of this set of instructions in Mic-1 [MAL Language]

The sequence of Mic-1 instructions below realize a new instruction bish8pu x (x is an offset in 8 bit in binary code). What is the meaning of this set of instructions? bish8pu1 MAR=SP bish8pu2 H=TOS << 8 bish8pu3 TOS=MDR=MBRU OR H;wr…
rammar
  • 11
  • 1
1
2