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 6640115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:38:07+00:00 2026-05-25T23:38:07+00:00

If I take an instruction and break it down into the binary representation of

  • 0

If I take an instruction and break it down into the binary representation of its op code, rs, rt etc… could I then put this binary number into a register and get MIPS to treat it as an instruction?

For example:

The instruction: add $t0, $s0, $t0

Breaks down to:

000000 10010 01000 01000 00000 100000

Which corresponds to the integer: 18696

Could I store this integer in a register, and then get MIPS to treat it as an instruction?

I ask this with the idea of self-modifying code in mind.

  • 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-25T23:38:07+00:00Added an answer on May 25, 2026 at 11:38 pm

    The correct answer is – no. As pointed out in a comment by a user who read the question more carefully than I did the first time, the value must be first written to memory, then you load an address value of the memory where that value is stored, and then you jump to it.

    You may want to explore more how JIT compilers work, as they use a lot of code modification (to be clear, they do not modify the code generator, but they do a lot of live patching of the generated code during the execution).

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

Sidebar

Related Questions

Take this example code (ignore it being horribly inefficient for the moment) let listToString
I don't understand why this is occurring. Take the following piece of psuedo code:
I think I've narrowed it down to this code in the Deactivation event: Here's
Take this query: SELECT * FROM MyTable WHERE MyColumn = 'SomeValue' ORDER BY SomeFakeQualifier.MyColumn
Take the following code snippet: SPAttachmentCollection attachments = item.Attachments ; What exactly is SPAttachmentCollection
Take a look at this html: <head> <title>Test page</title> <script type=text/javascript> function submitForm() {
Take the following example plugin: (function($) { $.fn.alertOnClick = function(text) { return this.each(function(){ $(this).click(alert(text));
The code for this is too long to post so Ill just describe it.
What does Carrey do in a Math instruction? Take the following as an example:
Summary: I want to take advantage of compiler optimizations and processor instruction sets, but

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.