# Advanced Boolean Equation Language

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.

Â© BrainMass Inc. brainmass.com March 5, 2021, 12:50 am ad1c9bdddfhttps://brainmass.com/math/boolean-algebra/advanced-boolean-equation-language-541726

#### 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 ...

#### 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.