Results 1 to 3 of 3

Thread: Can someone help

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2006
    Posts
    2

    Question Can someone help

    I am trying to right a microcode for a MIC-1 for floating point addition, substraction, and multiplication

    To do this I must assign suitable op-codes for the instructions and then write the microprogram to implement them. My program must be able to run on the Mic-1 hardware and must implement the floating point operations for the IEEE floating point standard for 32 bits.

    I've been trying to do the microcode for about two weeks now , but have not been able to make it work...

    I need your help guys, please!!!!

    Thanks

  2. #2
    Member
    Join Date
    Jan 2004
    Posts
    37

    Re: Can someone help

    So look up the standard. You'll find the float is made of three parts: sign, mantissa and exponent.

    For adding check the signs, if they aren't the same this should be handled as subtract. Else check the exponents, for the least significant float shift the mantissa, add the relevant digits to the mantissa of the other number. In case of overflow adjust exponent, then put all the parts together again.

    Subtraction and multiplication work similar, seperate the parts, do your work on them, and put them back together.

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2006
    Posts
    2

    Re: Can someone help

    Yes, I understand the logic of it. What i am supposed to do the process i have perfect but the problem is the microcode. I have to write the microcode that is the hard part. That is where the failure of my program occurs.

    If someone has it please reply to this!!! i appreciate it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width