Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6226947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:07:33+00:00 2026-05-24T09:07:33+00:00

I have following asm MIPS code: 80031DB8 bnez $v0, loc_80031F58 80031DBC move $v0, $zero

  • 0

I have following asm MIPS code:

80031DB8  bnez    $v0, loc_80031F58
80031DBC  move    $v0, $zero

as far as I understand “branch not equal zero” will never jump to loc_80031F58, because v0 = 0, is that right?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T09:07:34+00:00Added an answer on May 24, 2026 at 9:07 am

    No. At the time of comparison, $v0 has whatever value prior to execution of 80031DB8. After the comparison, when the delay slot executes and the jump is beginning to be taken, $v0 is written with the value 0.

    Once the branch is either taken or not taken, $v0 has the value zero. That is, at the start of execution of either 80031F58 (when the branch is taken) or 80031DC0 (when the branch is not taken), $v0 will be 0, although if the branch is taken, it must have had a non-zero value previously.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have inserted the following asm code in my C++ code. I am using
In ASM i have the following code which encrypts a character. Inputs: EAX =
I have the following asm code (x86). .input: mov ah, 00h ; get key
Let's say we have the following c++ code: int var1; __asm { mov var1,
In my ASP.NET MVC application, I have the following setup: <runtime> <assemblyBinding xmlns=urn:schemas-microsoft-com:asm.v1> <probing
I have following div in a page (I can not modify). <div id=:0.control>Click me</div>
I have following code in initialization im = imread('Image02.tif'); figure(); imagesc(im); colormap(gray); [hImage hfig
I have the following in my file.h: #define SetSP(sp) asm(movq %0,%%rsp: : r (sp)
If I have the following code in Windows VC++: DWORD somevar = 0x12345678; _asm
I have a very strange problem and the following code wont compile: #ifndef MYWINDOW_HPP_INCLUDED

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.