MIPSIT | MIPSIT tool for windows | Learning library
kandi X-RAY | MIPSIT Summary
kandi X-RAY | MIPSIT Summary
MIPSIT tool for windows. Only for educational purposes.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MIPSIT
MIPSIT Key Features
MIPSIT Examples and Code Snippets
Community Discussions
Trending Discussions on MIPSIT
QUESTION
I am attending an university course that according to specification tries to follow book "Computer architecture a quantitative approach".
Our task was to write an insert sort in MIPS, but I don't know how should I debug my code or even compile it. School web page points to gcc-mips-elf and MipsIt from the book.
Problem is I am using arch instead of debian so gcc-mips-elf is not available and MipsIt requires emulator, so I have decided to go with native simulator QtSpim which I have found in arch database.
But when I try to execute the template from course web page, spim throws an error : syntax error on line 17 ... .word 5, 3, 4, 1, 2
ANSWER
Answered 2017-Mar-17 at 05:37The .word
assembler directive reserves a single word in memory for the value that follows. The assembler won't allow a list of values as you have provided after the assembler directive. If you instead break this down into 5 separate assembler directives it should resolve the syntax error.
Specifically, you should replace:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MIPSIT
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page