Binary Design Algorithm - a binary Input/Output

Status
Not open for further replies.

OMID-313

Junior Member level 2
Joined
Dec 27, 2008
Messages
24
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Solar System
Activity points
1,448
Binary Design Algorithm

Hi everyone

I want to design a binary Input/Output :

Input : x = an 8-bit binary number ( positive integer )
Output : √x = an 8-bit binary number : the bits from 5 to 8 form the integer part , and the bits from 1 to 4 form the decimal part.

Please help me design the algorithm of this project.
Thanks !!
 

Binary Design Algorithm

It may not be not what you want, but a lookup-table would be fastest and simplest.
 

Binary Design Algorithm

do you want to write it in asembler or C? If its C then you can just write your function in 2 or 3 lines. If you want it in asembler be prepared to spend a while on it. It can be done but you would have to get sum1 who is either really bored or has a lot of time on his hands or both to help you.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…