Assume that two numbers: dividend and divisor are saved in memory address M1 and M2 respectively….

Assume that two numbers: dividend and divisor are saved in memory address M1 and M2 respectively. Quotient and remainder should besaved in R1 and R2 respectively. Write assembly language instructions and then list microoperations for each instruction and list the controlsignals required to be activated for each microoperation. MBR is used as buffer for any register to register transfer operation.Signal Description:Control signalsoperationCommentsC0MAR to RAM (through addressbus)C1PC to MBRC2PC to MARC3MBR to PCC4MBR to IRC5RAM to MBRC6MBR to ALUC7Accumulator to ALUC8IR to MARC9ALU to AccumulatorC10MBR to AccumulatorC11Accumulator to MBRC12MBR to RAM (through data bus)C13IR to Control UnitC14MBR to R1C15MBR to R2C16MBR to R3C17MBR to R4C18MBR to R5C19R1 to MBRC20R2 to MBRC21R3 to MBRC22R4 to MBRC23R5 to MBRC24MBR to MQC25MQ to MBRCRRead signal: CPU to RAMCWWrite Signal: CPU to RAMC-MQ-ALUMQ to ALUC-ALU-MQALU to MQC-addAddition signal to ALUC-subSubtraction signal to ALUC-orLogical OR operation to ALUC-andLogical AND operation to ALUC-mulMultiplication signal to ALUMQ must hold Multiplicand and AC must hold multiplier. After Multiplication, higher Bytewill be stored in MQ and Lower Byte in ACC-divDivision signal to ALUDividend in MQ and divisor in AC. After division, Quotient in MQ and remainder in ACMBR is used as buffer for any Register to register transfer operation

Attachments:

Don't use plagiarized sources. Get Your Custom Essay on
Assume that two numbers: dividend and divisor are saved in memory address M1 and M2 respectively….
For as low as $7/Page
Order Essay

term-final-mi….png

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

*