Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are asked to write a program in pseudo language to realize multiplication of two 7-bit binary numbers according to the ADD and Shift algorithm

image text in transcribed
You are asked to write a program in pseudo language to realize multiplication of two 7-bit binary numbers according to the ADD and Shift algorithm discussed during the lecture. Assume they are positive numbers) that are already stored in 8-bit register A and B, and your code store the results in registers C and D in binary format. Also, assume the Followings: An 8-bit machine having eight registers (A through H), and ALU capable of ADD, AND, and NOT functions. Also, this machine has a shifter capable of shift left, shift_right, and no shift. Shifter's left_in and right_in is always 0. l.e. your pseudo code is required to implement bit detection for the purpose of multiplying . You may assign any initial binary value to any registers to make your system functional Your pseudo code must be typed and followed by the following two input examples (for A and B) and the multiplication results (C and D) . A:1101011 B:1000001 A : 1010101 B : 1001100 When testing with above examples, you need to indicate the values of registers whenever their values are updated

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

Students also viewed these Databases questions

Question

Discuss five types of employee training.

Answered: 1 week ago

Question

Identify the four federally mandated employee benefits.

Answered: 1 week ago