Extending MIPS datapath question

Discussion in 'Assembly Language Programming (ALP) Forum' started by esmeco, Mar 29, 2008.

  1. esmeco

    esmeco New Member

    Joined:
    Mar 27, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hello!
    I'm having problems figuring out to extend the datapath and blocks used for ble and sgt instructions on MIPS32.
    After studying a bit I managed to code the instructions for ble and sgt:

    Code:

    slt $t0, $s2, $s1
    beq $t0, $zero, less_equal
    ////////////////////////////
    slt $t0, $s2, $s1

    Any tips on how to extend MIPS datapath to support ble and slt instructions would be very helpful!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice