If you’re just trying to print a newline, it’s simpler (and slightly more memory efficient) to do it using syscall 11 to print a single character.
.text main: addi $a0, $0, 0xA #ascii code for LF, if you have any trouble try 0xD for CR. addi $v0, $0, 0xB #syscall 11 prints the lower 8 bits of $a0 as an ascii character. syscall
Related Posts:
- MIPS fetch address not aligned on word boundary, used .align 4, still no go
- MIPS ‘nor’ usage in code
- Multiplying a register value by a constant in MIPS?
- Arithmetic Overflow in mips
- Official definition of CSCI (Computer Software Configuration Item)
- What does %>% mean in R [duplicate]
- How do I copy folder with files to another folder in Unix/Linux? [closed]
- How do I fix a “Expected Primary-expression before ‘)’ token” error?
- What is archive mode in rsync?
- Turn off pager for psql’s interactive output
- What does “xmlns” in XML mean?
- How do I get my C# program to sleep for 50 msec?
- What is an idiomatic way of representing enums in Go?
- Why the range of int is -32768 to 32767?
- syntaxerror: “unexpected character after line continuation character in python” math
- How to update multiple columns in single update statement in DB2
- what does the __file__ variable mean/do?
- Error in .External.graphics R
- Java – No enclosing instance of type Foo is accessible
- Center Plot title in ggplot2
- Converting a C program to MIPS
- what is the difference between OLE DB and ODBC data sources?
- How to use vmImage on pipeline using Azure DevOps Server?
- While Loop in Mips (New to Mips)
- git add . -> still “nothing to commit” with new files
- git submodule add error: does not have a commit checked out
- “The certificate chain was issued by an authority that is not trusted” when connecting DB in VM Role from Azure website
- What’s the complete range for Chinese characters in Unicode?
- Is there an operation for not less than or not greater than in python?
- Resource interpreted as stylesheet but transferred with MIME type text/html (seems not related with web server)
- Background color for Tk in Python
- how to uninstall MinGW and make cygwin ‘make’ as deafult make program with gcc 3.8.1
- Optional Parameters in Go?
- PostgreSQL: Remotely connecting to Postgres instance using psql command
- Android – Package Name convention
- How to execute an oracle stored procedure?
- How do I time a method’s execution in Java?
- -bash: export: `=’: not a valid identifier
- Error “The goal you specified requires a project to execute but there is no POM in this directory” after executing maven command
- Error in glm() in R
- What is a good Hash Function?
- Excel Filters – show only relevant values in the filter
- Get a random item from a JavaScript array
- Plotting horizontal and vertical lines in Mathematica
- Error while waiting for device: Time out after 300seconds waiting for emulator to come online
- How to transparent Unity3D custom shader?
- Integer absolute value in MIPS?
- Converting string to integer VB.NET
- Remove node_modules from git in vscode
- How do you change session timeout in IIS 8.5?
- MIPS program jr $ra instructions and stack handling
- what is shortcut command to kill process in windows command?
- Differentiate between function overloading and function overriding
- In Java, what is a shallow copy?
- conversion to inaccessible base class is not allowed [duplicate]
- A difference between statement and decision coverage
- How to draw a line with matplotlib?
- Android marshmallow : Galaxy Note 4 Screen Overlay Detected
- Get all object attributes in Python?
- MIPS to C Translation
- How to get the filename without the extension in Java?
- Printing a 2D array in C
- Should 3rd Parties Use $wp_scripts/$wp_styles->add_data?
- wp_localize_script with mce_external_plugins in wordpress
- Send an email that contains a HTML and plain text part
- Filtering the Comment Form Allowed Tags
- Contact Form 7: Redirecting on a condition? [closed]
- Deleting images in array
- How do I display the latest Flickr OAuth embedded image on the frontpage?
- Next Previous siblings child pages
- dbDelta with the character ;
- Posts2Posts plugin and wp user frontend connect programmatically
- Is there function similar to wp_upload_bits() that will allow uploading to a specific path?
- Limiting the posts on the homepage to one taxonomy? [closed]
- Need a method for base_url() or home_url() in CF7 additional settings [closed]
- Pulling Individual Posts from WP_Query
- How to check, if user commented before, on comment_post action?
- What A Pupil Learns From Writing An Argumentative Essay
- add_image_size sizes not stored
- parsererror | SyntaxError: Unexpected token < in JSON at position 0
- 100% uptime for a web application
- How to assign permissions to ApplicationPoolIdentity account
- Is it bad to redirect http to https?
- Using DD for disk cloning
- What tool do you use to monitor your servers?
- Sudo as different user and running screen
- What is the difference between Load Balancer and Reverse Proxy?
- Should servers be turned off at night?
- Where to check log of sendmail?
- How can I see Time-To-Live (TTL) for a DNS record?
- Rsync difference between –checksum and –ignore-times options
- Should I use tap or tun for openvpn?
- Smell of rotten eggs in the server room
- Should we host our own nameservers?
- Ansible: Execute task only when a tag is specified
- Is a CNAME to CNAME chain allowed?
- How does a team of Systems Administrators share passwords securely?
- Apache2 config variable is not defined
- How dangerous is a wet server room floor
- Why is rsync skipping the main directory?