CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Other Programming > Assembly
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Assembly Questions and Answers for Assembly here!

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old May 4th, 2005, 03:13 AM
    Ansem Ansem is offline
    Junior Member
     
    Join Date: May 2005
    Posts: 2
    Ansem is an unknown quantity at this point (<10)
    Help with mips!!!

    Problem Solved,

    Last edited by Ansem; May 5th, 2005 at 05:01 AM.
    Reply With Quote
      #2    
    Old May 4th, 2005, 11:35 AM
    TBONE917 TBONE917 is offline
    Member
     
    Join Date: Oct 2004
    Location: Philadelphia, PA
    Posts: 68
    TBONE917 is an unknown quantity at this point (<10)
    Re: Help with mips!!!

    if you are using some gui based interpreter for MIPS try to step through the program... also, I think what the error means is that the first four bits of the address of the instruction calling the jump, must have the same first four bits as the instruction being jumped to... the two instructions can not be more than 2^27 bits apart from each other. I saw one thing that was interesting... in two of the branched conditionals you are jumping to the next line which means that the code is going to that instruction regardless of the evaluation of the conditional(true and false both go to the next instruction). With PC relative address, Im not sure if this causes a problem.
    Reply With Quote
      #3    
    Old May 4th, 2005, 05:50 PM
    Ansem Ansem is offline
    Junior Member
     
    Join Date: May 2005
    Posts: 2
    Ansem is an unknown quantity at this point (<10)
    Re: Help with mips!!!

    I have fixed that problem, but now any code that I run, even the correct ones that have syscall in it doesn't work, am I supposed to change the settings of spim to make it work, error is like this "(parser) error on line 23 in file:/........... li $v0, 4"
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Other Programming > Assembly


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 08:22 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009