Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about spim

Read more about spim

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - spim

initial stack pointer is not 0x7fffffff in MIPS

I've assembled this a short MIPS assembly code using QtSPIM simulator. I am appending the code for completion: .text .globl main main: subu $sp,$sp,32 # Stack frame is 32 bytes long sw $ra,20($sp) #...
test-img

sanjihan

assembly

mips

qtspim

spim

Votes: 0

Answers: 1

Latest Answer

First, 0x7FFFFFFF is not a reasonable address for a MIPS stack pointer, because it is odd.  A MIPS stack pointer points to words, so should be an even multiple of 4. Second, QtSPIM sets up the simulat...
test-img

Erik Eidt

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved