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

  • SEARCH
  • Home
  • 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 6745941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:15:51+00:00 2026-05-26T12:15:51+00:00

I have this issue using assembly MIPS. From the keyboard I read an integer

  • 0

I have this issue using assembly MIPS.
From the keyboard I read an integer and the range must be 1..20

li $v0,5
syscall
move $t2,$v0        # value read

blez $t2,err1       # if $t2 <0 go to error1 function
bgt $t2,20,err1     # if $t2 >20 go to error1 function

I want to add a default integer value and if the user clicks the Enter key (.byte 0x0d 0x0a ) the program should continue. How can I do this?

E.g.

Insert in position 6 [return confirm/overwrite old]: <1,2,3..20>

Thanks!

  • 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-26T12:15:51+00:00Added an answer on May 26, 2026 at 12:15 pm

    Do a dummy program which reads a number just like you did then it prints out what it has just read. Run it, press enter and you know what to look for. 🙂

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

Sidebar

Related Questions

I have this strange issue with my web app. You see, I'm using jQuery
I've come across this issue in my application, and have reproduced it using Apple's
I have this exact issue ASP.net can’t update page from event handler and it's
Continuing my problem from yesterday, the Silverlight datagrid I have from this issue is
I have and issue with using the XmlnsDefinition attribute within a silverlight 4 assembly.
I have read this question . I have same issue, but I don't understand
Before you say anything, I have read the previously asked questions about this issue.
Note: I'm using Google Chrome Currently I have this test page http://www.evecakes.com/doodles/canvas_size_issue.htm It should
I have this issue with ComboBox that uses IEnumerable<Brush> as ItemsSource; the problem lies
I do not currently have this issue , but you never know, and thought

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.