William Stallings Computer Organization and Architecture Chapter 15 Micro-programmed Control.
Micro programmed control
-
Upload
siddique-ibrahim -
Category
Technology
-
view
171 -
download
4
description
Transcript of Micro programmed control
![Page 1: Micro programmed control](https://reader036.fdocuments.us/reader036/viewer/2022083002/558c79cdd8b42a3f318b457f/html5/thumbnails/1.jpg)
Micro programmed control
![Page 2: Micro programmed control](https://reader036.fdocuments.us/reader036/viewer/2022083002/558c79cdd8b42a3f318b457f/html5/thumbnails/2.jpg)
3. Microprogram sequencing
• Microprogram is simple because std software technique can be used.
• However, two major disadvantages may be answered by this method.
• Separate microroutine for each machine instruction cause large no of microinstruction and large control store.
![Page 3: Micro programmed control](https://reader036.fdocuments.us/reader036/viewer/2022083002/558c79cdd8b42a3f318b457f/html5/thumbnails/3.jpg)
Contd.,
• Most machine instruction involve several addressing mode.
• Many instruction of a processor have different combinations of addressing modes.
• A separate microroutine for each of these combinations would produce considerable duplication of common parts.
![Page 4: Micro programmed control](https://reader036.fdocuments.us/reader036/viewer/2022083002/558c79cdd8b42a3f318b457f/html5/thumbnails/4.jpg)
• We should organize the microroutine so that many common parts would share as possible.
• [when it arise execution time is longer because it takes more time to carry out the required branches]
![Page 5: Micro programmed control](https://reader036.fdocuments.us/reader036/viewer/2022083002/558c79cdd8b42a3f318b457f/html5/thumbnails/5.jpg)
Example
–Add src, dst
the source operand can be specified in the following addressing modes1. Register
2. Auto increment
3. Auto decrement
4. indexed
![Page 6: Micro programmed control](https://reader036.fdocuments.us/reader036/viewer/2022083002/558c79cdd8b42a3f318b457f/html5/thumbnails/6.jpg)
![Page 7: Micro programmed control](https://reader036.fdocuments.us/reader036/viewer/2022083002/558c79cdd8b42a3f318b457f/html5/thumbnails/7.jpg)
4. Microinstruction with next-Address field
![Page 8: Micro programmed control](https://reader036.fdocuments.us/reader036/viewer/2022083002/558c79cdd8b42a3f318b457f/html5/thumbnails/8.jpg)
5. Prefetching microinstructions
One major drawback of microprogrammed control is slower operating speed.bcoz of fetching every micoinstruction from CS.
Prefetching of microinstruction facing some operational difficulties that it must consider the status flags and result of currently being executed microinstruction.
Some time straight forward prefetches a wrong microinstruction. Thus, the fetch must be repeated with the correct address and it will require more complex hardware.
![Page 9: Micro programmed control](https://reader036.fdocuments.us/reader036/viewer/2022083002/558c79cdd8b42a3f318b457f/html5/thumbnails/9.jpg)
6.Emulation - Duplicate
• Additional instruction set.-Emulate the function of one system to another so the emulated machine reassembles the behavior of real system.
• Programs written in the machine language of M2 machine can then be run on computer M1.