Purchase Solution

Advanced Boolean Equation Language

Not what you're looking for?

Ask Custom Question

Write an ABEL program for a combinational logic function with five input bits N4-N0) representing an integer between 0 and 31 and two outputs M3 and M5 to indicate if the number is a multiple of 3 or 5.

Purchase this Solution

Solution Summary

The solution gives detailed explanations on writting an ABEL program for a combinational logic function with five input bits N4-N0) representing an integer between 0 and 31 and two outputs M3 and M5 to indicate if the number is a multiple of 3 or 5. And my complete is included in the answer also.

Solution Preview

let num is 5 bit number:

for divisiblity by 3:

start from 0th bit and count the number of 1s alternatively i.e. 0th bit, 2ndbit, 4th bit%u2026.

now start from 1st bit and count the number of 1s alternatively i.e. 1st bit, 3rdbit, 5th bit%u2026.

if these two counts are equal,then num is div by 3

for divisiblity by 5:

First split the number into odd and even bits (I'm calling "even" the bits corresponding ...

Purchase this Solution


Free BrainMass Quizzes
Solving quadratic inequalities

This quiz test you on how well you are familiar with solving quadratic inequalities.

Know Your Linear Equations

Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.

Multiplying Complex Numbers

This is a short quiz to check your understanding of multiplication of complex numbers in rectangular form.

Geometry - Real Life Application Problems

Understanding of how geometry applies to in real-world contexts

Exponential Expressions

In this quiz, you will have a chance to practice basic terminology of exponential expressions and how to evaluate them.