Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For each of following assembly instructions: a. Specify the register transfer language (RTL) b. Specify the control signals and control matrixes You can consider the

image text in transcribed

For each of following assembly instructions: a. Specify the register transfer language (RTL) b. Specify the control signals and control matrixes You can consider the processing unit in lecture # 5. Instruction Task LD R2 R5 LD R3 (R6) INC R3 DEC (R4) JP 20H JP (20H) JPZ 20H Call NC (44H) RET NZ ASR R6 CMR A,R2 AND R2 R4 SUB R2 R4 SUB R2 (R4) Load data to R2 from R5 Load data to R3 from memory, R6 shows the memory address Increment the value of R3 Decrement the value in memory with address of R4 Jump to 20H Jump to (20H) Jump to 20H if Zero Flag is "1" Jump to (44H) with saving return address into stack if Carry Flag is "O" Return to main routine if Zero Flag is "O" Arithmetic shift right R6 Compare accumulator with R2 AND operation for R2 and R4 send the result to R2 Subtract operation for R2 and R4 send the result to R2 (R2-R4-> R2) Subtract operation for R2 and M(R4) send the result to R2 (R2-M(R4) -> R2) For each of following assembly instructions: a. Specify the register transfer language (RTL) b. Specify the control signals and control matrixes You can consider the processing unit in lecture # 5. Instruction Task LD R2 R5 LD R3 (R6) INC R3 DEC (R4) JP 20H JP (20H) JPZ 20H Call NC (44H) RET NZ ASR R6 CMR A,R2 AND R2 R4 SUB R2 R4 SUB R2 (R4) Load data to R2 from R5 Load data to R3 from memory, R6 shows the memory address Increment the value of R3 Decrement the value in memory with address of R4 Jump to 20H Jump to (20H) Jump to 20H if Zero Flag is "1" Jump to (44H) with saving return address into stack if Carry Flag is "O" Return to main routine if Zero Flag is "O" Arithmetic shift right R6 Compare accumulator with R2 AND operation for R2 and R4 send the result to R2 Subtract operation for R2 and R4 send the result to R2 (R2-R4-> R2) Subtract operation for R2 and M(R4) send the result to R2 (R2-M(R4) -> R2)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Python Programming MySQL MongoDB OOP And Tkinter

Authors: R. PANNEERSELVAM

1st Edition

9357011331, 978-9357011334

Students also viewed these Databases questions