Assume that two numbers: dividend and divisor are saved in memory address M1 and M2 respectively. Quotient and remainder should be saved in R1 and R2 respectively. Write assembly language instructions and then list microoperations for each instruction and list the control signals required to be activated for each microoperation. MBR is used as buffer for any register to register transfer operation.     Signal Description: Control signals operation Comments C0 MAR to RAM (through address bus)   C1 PC to MBR   C2 PC to MAR   C3 MBR to PC   C4 MBR to IR   C5 RAM to MBR   C6 MBR to ALU   C7 Accumulator to ALU   C8 IR to MAR   C9 ALU to Accumulator   C10 MBR to Accumulator   C11 Accumulator to MBR   C12 MBR to RAM (through data bus)   C13 IR to Control Unit   C14 MBR to R1   C15 MBR to R2   C16 MBR to R3   C17 MBR to R4   C18 MBR to R5   C19 R1 to MBR   C20 R2 to MBR   C21 R3 to MBR   C22 R4 to MBR   C23 R5 to MBR   C24 MBR to MQ   C25 MQ to MBR   CR Read signal: CPU to RAM   CW Write Signal: CPU to RAM   C-MQ-ALU MQ to ALU   C-ALU-MQ ALU to MQ   C-add Addition signal to ALU   C-sub Subtraction signal to ALU   C-or Logical OR operation to ALU   C-and Logical AND operation to ALU   C-mul Multiplication signal to ALU MQ must hold Multiplicand and AC must hold multiplier. After Multiplication, higher Byte will be stored in MQ and Lower Byte in AC C-div Division signal to ALU Dividend in MQ and divisor in AC. After division, Quotient in MQ and remainder in AC MBR is used as buffer for any Register to register transfer operation.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

6.

Assume that two numbers: dividend and divisor are saved in memory address M1 and M2 respectively. Quotient and remainder should be saved in R1 and R2 respectively. Write assembly language instructions and then list microoperations for each instruction and list the control signals required to be activated for each microoperation. MBR is used as buffer for any register to register transfer operation.

 

 

Signal Description:

Control signals

operation

Comments

C0

MAR to RAM (through address bus)

 

C1

PC to MBR

 

C2

PC to MAR

 

C3

MBR to PC

 

C4

MBR to IR

 

C5

RAM to MBR

 

C6

MBR to ALU

 

C7

Accumulator to ALU

 

C8

IR to MAR

 

C9

ALU to Accumulator

 

C10

MBR to Accumulator

 

C11

Accumulator to MBR

 

C12

MBR to RAM (through data bus)

 

C13

IR to Control Unit

 

C14

MBR to R1

 

C15

MBR to R2

 

C16

MBR to R3

 

C17

MBR to R4

 

C18

MBR to R5

 

C19

R1 to MBR

 

C20

R2 to MBR

 

C21

R3 to MBR

 

C22

R4 to MBR

 

C23

R5 to MBR

 

C24

MBR to MQ

 

C25

MQ to MBR

 

CR

Read signal: CPU to RAM

 

CW

Write Signal: CPU to RAM

 

C-MQ-ALU

MQ to ALU

 

C-ALU-MQ

ALU to MQ

 

C-add

Addition signal to ALU

 

C-sub

Subtraction signal to ALU

 

C-or

Logical OR operation to ALU

 

C-and

Logical AND operation to ALU

 

C-mul

Multiplication signal to ALU

MQ must hold Multiplicand and AC must hold multiplier. After Multiplication, higher Byte will be stored in MQ and Lower Byte in AC

C-div

Division signal to ALU

Dividend in MQ and divisor in AC. After division, Quotient in MQ and remainder in AC

MBR is used as buffer for any Register to register transfer operation.

6.
Assume that two numbers: dividend and divisor are saved in memory address M1 and M2 respectively. Quotient and remainder should be
saved in R1 and R2 respectively. Write assembly language instructions and then list microoperations for each instruction and list the control
signals required to be activated for each microoperation. MBR is used as buffer for any register to register transfer operation.
C5
C12
Data
AC
PC
IR
Bus
* Control
signals
ALU
Control
Flag C24 -
MQ
C25
unit
Address
C14oH
R1
-O- c19
0 C19
Bus
Clock
Control
signals
C150H
R2
c20
C16o
R3
C21
R4
-O c22
RAM
C18
R5
- C23
Signal Description:
Control signals
operation
MAR to RAM (through address
Comments
CO
bus)
PC to MBR
PC to MAR
MBR to PC
C1
C2
C3
C4
MBR to IR
CS
RAM to MBR
MBR to ALU
Accumulator to ALU
IR to MAR
C6
C7
C8
C9
ALU to Accumulator
C10
MBR to Accumulator
C1
Accumulator to MBR
C12
MBR to RAM (through data bus)
C13
IR to Control Unit
C14
MBR to R1
C15
MBR to R2
C16
MBR to R3
C17
MBR to R4
C18
MBR to R5
C19
R1 to MBR
C20
R2 to MBR
C21
R3 to MBR
R4 to MBR
R5 to MBR
C2
C23
C24
MBR to MQ
C25
MQ to MBR
Read signal: CPU to RAM
Write Signal: CPU to RAM
MQ to ALU
ALU to MQ
CR
CW
C-MQ-ALU
C-ALU-MQ
C-add
|C-sub
Addition signal to ALU
Subtraction signal to ALU
С-or
Logical OR operation to ALU
Logical AND operation to ALU
Multiplication signal to ALU
C-and
MQ must hold Multiplicand and AC must hold multiplier. After Multiplication, higher Byte
will be stored in MQ and Lower Byte in AC
С-mul
Division signal to ALU
MBR is used as buffer for any Register to register transfer operation.
C-div
Dividend in MQ and divisor in AC. After division, Quotient in MQ and remainder in AC
Transcribed Image Text:6. Assume that two numbers: dividend and divisor are saved in memory address M1 and M2 respectively. Quotient and remainder should be saved in R1 and R2 respectively. Write assembly language instructions and then list microoperations for each instruction and list the control signals required to be activated for each microoperation. MBR is used as buffer for any register to register transfer operation. C5 C12 Data AC PC IR Bus * Control signals ALU Control Flag C24 - MQ C25 unit Address C14oH R1 -O- c19 0 C19 Bus Clock Control signals C150H R2 c20 C16o R3 C21 R4 -O c22 RAM C18 R5 - C23 Signal Description: Control signals operation MAR to RAM (through address Comments CO bus) PC to MBR PC to MAR MBR to PC C1 C2 C3 C4 MBR to IR CS RAM to MBR MBR to ALU Accumulator to ALU IR to MAR C6 C7 C8 C9 ALU to Accumulator C10 MBR to Accumulator C1 Accumulator to MBR C12 MBR to RAM (through data bus) C13 IR to Control Unit C14 MBR to R1 C15 MBR to R2 C16 MBR to R3 C17 MBR to R4 C18 MBR to R5 C19 R1 to MBR C20 R2 to MBR C21 R3 to MBR R4 to MBR R5 to MBR C2 C23 C24 MBR to MQ C25 MQ to MBR Read signal: CPU to RAM Write Signal: CPU to RAM MQ to ALU ALU to MQ CR CW C-MQ-ALU C-ALU-MQ C-add |C-sub Addition signal to ALU Subtraction signal to ALU С-or Logical OR operation to ALU Logical AND operation to ALU Multiplication signal to ALU C-and MQ must hold Multiplicand and AC must hold multiplier. After Multiplication, higher Byte will be stored in MQ and Lower Byte in AC С-mul Division signal to ALU MBR is used as buffer for any Register to register transfer operation. C-div Dividend in MQ and divisor in AC. After division, Quotient in MQ and remainder in AC
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Computer System
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education