mips convert integer to binary

mips convert integer to binary

mips convert integer to binaryReister

  • jose altuve 40 yard dash time
  • pro football players from rock hill, sc
  • LOGIN
  • INICIO
  • EMPRESA
    • SOBRE NÓS
    • NOSSA HISTORIA
    • Produtos
  • NOTICIAS
  • CONTATO
  • numerology death date calculator
  • understanding the aries woman
  • mlive jackson michigan crime
  • mips convert integer to binary
 

mips convert integer to binary

terça-feira, 14 março 2023 / Published in a man who doesn't defend his woman quotes

mips convert integer to binary

How do I align things in the following tabular environment? That is, sets equivalent to a proper subset via an all-structure-preserving bijection. This can be generalized into an easy way to do this conversion. You are using an out of date browser. We can validate as we go, and jump out of the conversion at the point that we reach an invalid character for the base. Is there a solution to add special characters from software and how to do it. Solved MIPS ASSEMBLY LANGUAGE Write MIPS code to convert - Chegg You do seem confused by the character coding: That's the other way around - ASCII is the encoding of the characters into bytes, so what you're doing is requiring that the input string uses the ASCII encoding. MIPS Assembly Convert Integer to Single FLoating Point The computer is an electrical device capable of storing, retrieving, and processing data., Q:please edit the code below to add a condition to your function . I'm writing a MIPS assembly program and I'm trying to figure out a way to display a given integer in either decimal or binary using only one function with two parameters. View this solution and millions of others when you join today! Only been learning assembly a few weeks so it's still quite confusing. Bucknell University 2014. In the last several decades, computers have, A:Introduction: Thanks for contributing an answer to Stack Overflow! I have written the following code for a programming assignment. Computers have a variety of traits, including: User Enters: 5 Output: 0000000000000000000000000000101 User Enters: 500 Output: 0000000000000000000000111110100 User Enters: 100000 It only takes a minute to sign up. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. Start with the number 433. I'm a complete beginner. ##| Argument B (base): An integer in the range of 2 and 16. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. I'd like to not edit anything other than just this one function. Need help converting C++ code to MIPS Assembly 5 ; using float, double numbers in mips assembly language 2 ; Swing - JPanel sizing 2 ; MIPS Assembly Lanuaguage programming 2 ; Conversion from C++ to MIPS Assembly 14 ; The question about "new" 4 ; Decimal to binary in a86 8 ; Arithmetic Overflow - MIPS 1 ; value of learning computer theory 4 . the resulting 0 or 1 from and is the value mod 2, and right-shift by 1 place divides by 2. An immediate instruction uses a constant number as one of the inputs (instead of a register operand) . Encoding MIPS Instructions Figure A.10.2 explains how a MIPS instruction is encoded in a binary number. Legal. 8,797. The function takes in two parameters: an integer and a base (either '2' or '10'). although for MIPS that means generating lots of separate 32-bit constants which cost 2 instructions each. For each binary power of 2, you have either 0 or 1 instance of that number. How should law enforcement, Q:Charles Babbage is often referred to as the "Father of the Computer" Count bits 1 on an integer as fast as GCC __builtin__popcount(int), We've added a "Necessary cookies only" option to the cookie consent popup. There is a way to implement the conversion which results in a nicer algorithm. Tests - you haven't presented any tests. Do "superinfinite" sets exist? ii) 1/(2.25). You'll need some extra code to handle negative numbers as signed numbers. The following program contains a line of code with errors. Disconnect between goals and daily tasksIs it me, or the industry? The first computer planned and partially constructed, A:Introduction: In almost all cases where specific bits are being set, a hex representation of the number is the easiest to understand and use. You can get the high bits using a shift right of value 4 with shr or lsr. addi $t4, $zero, 32 # loop counter A:Every computer has distinguishing features that set it distinct from others. It may not display this or other websites correctly. I'm writing a MIPS assembly program and I'm trying to figure out a way to display a given integer in either decimal or binary using only one function with two parameters. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. You could do two SWAR widening steps and then loop over groups of 4-bit sums, as a middle ground. We equally welcome both specific questions as well as open-ended discussions. 0b1111). (select two) a)10110100 Most students are familiar with the term byte, which is 8 bits. So it is often necessary for programmers to be able to convert between what the computer wants to see (binary), and what the human end users want to see (decimal). Still, simple is good for a first attempt; the choice of andi and srl as examples earlier is a hint. Q:What are the global Internet's pros and cons? Computers hold massive. Notes: For the user input, don't use syscall but use the . MIPS Instruction Converter designing and putting into action, A:System administrator: How to create an Assembly Mips program which counts binary 1 in an ASCII string, MapReduce algorithm for Binary Tree in MIPS. Acidity of alcohols and basicity of amines. .align 2, __start: Now check for values of 26 (64). The second way to convert a decimal number to binary is to do successive divisions by the number 2. Also, another thing I noticed was that I did not follow MIPS calling conventions which I need to fix as well. How do you ensure that a red herring doesn't violate Chekhov's gun? Q:Computer science and other fields: parallels or differences? What video game is Charlie playing in Poker Face S01E07? rev2023.3.3.43278. Looping over the bits one at a time, extracting and adding the low bit, is a simple but often inefficient way to count the number of set bits. Making statements based on opinion; back them up with references or personal experience. Since 64 > 49, put a zero in the 26 position and continue. The nature of simulating nature: A Q&A with IBM Quantum researcher Dr. Jamie We've added a "Necessary cookies only" option to the cookie consent popup, SSE2 assembly optimization - multiply unsigned shorts and add the result, Computing a mathematical function in MIPS assembly, Calculating prime factors in MIPS assembly, MIPS assembly program to read integer byte by byte, E820 display using X86 legacy boot sector or DOS 6.22 com file, Parse a stream of space separated numbers, Hex Dump Utility in x86-64 Assembly: Version 1.1, Multiply two huge base-10 numbers in assembly. The MARS/SPIM read_int call (syscall with $v0 = 5) does that for you, like C library functions scanf or printf. John von Neumann (1903-1957), a Hungarian-born mathematician and, Q:This is due to the technological progress of computers. Answered: Convert an 8-bit binary digit into a | bartleby i get the syscalls, and the registers and all.. but how does it actually convert the decimal into binary? 0-15 (decimal) 0-9, a-f (hex) Dec . Is it correct to use "the" before "materials used in making buildings are"? Q:What other kinds of input devices do personal computers have besides the keyboard and the mouse? As Michael commented, integers in registers are already in binary. Like I said I dont want the actual code but some hints or something on how I would go about doing it. A:Introduction: Learn more about Stack Overflow the company, and our products. 433 divided by 2 is 216 with a remainder of 1. (I'm not necessarily recommending this, but it improves your learning experience if you at least consider how to do it, and what the costs and benefits would be.). Among them are, to. integer If its a standard word based integer, it is already in binary form in memory, and all you have to do is to get each bit and print the value. Whats the grammar of "For those whose stories they are"? This, Q:the many forms that cybercrime may take. The process continues to divide by 2, filling the remainder in each appropriate bit, until at last the result is 0, as below. ##| ##| The program outputs an integer result converting the . Connect and share knowledge within a single location that is structured and easy to search. The second is a cleaner algorithm, but why the algorithm works is less intuitive. They operate quickly and accurately. beq $t1, $zero, print # Branch to print if its 0, add $t1, $zero, $zero # Zero out $t1 This is also true in decimal, where there is often a "," inserted between groupings of 103. Step 2. print_binary.asm This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. vegan) just to try it, does this inconvenience the caterers and staff? This is a consequence of MIPS being a binary computer, like every over real-world ISA you might learn assembly for. A short demonstration of how to cnvert an integer to a single precision floating point number Okay I see. Why does C++ code for testing the Collatz conjecture run faster than hand-written assembly? Is it ever possible we could do better than binary for computers, Having a difficult time with binary IEEE .dat file. Likewise if the result of step 1 is divided again by 2 (so essentially dividing by 2*2 or 4), the reminder is the value of the 21 bit. Can you restore data from a deleted file that was previously emptied. Can you restore data from a deleted file that was previously emptied. By accepting all cookies, you agree to our use of cookies to deliver and maintain our services and site, improve the quality of Reddit, personalize Reddit content and advertising, and measure the effectiveness of advertising. A subreddit for all questions related to programming in any language. This is all the code I have so far. The example below shows how this works. I'm not allowed to use syscalls 35 or 36. Q:Complex technology like a computer doesn't require power. Short story taking place on a toroidal planet or moon involving flying, Acidity of alcohols and basicity of amines. Create a MIPS (MARS) software to translate an 8-bit binary digit into a binary-coded decimal (BCD). syscall For a better experience, please enable JavaScript in your browser before proceeding. I have been browsing around for hours and trying different things to first convert the integer to binary. What's happening? syscall The system analyst is the professional who collaborates with both users and, Q:Exploring what makes computers powerful You may be wondering MIPS assembly programming - converting integer to decimal/binary Are you sure you want to create this branch? By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. For instance, if a number is required where all of the bits except the right left most (or 1) bit of a number is set, you can write the number in binary as: A second option is to write the decimal value as: 429496729510, Finally the hex value can be written as 0xFFFFFFFE. The first way to convert a number from decimal to binary is to see if a power of 2 is present in the number. ASCII decimal or hex strings are a serialization format for numbers, not how they exist inside computers (except as strings, not integers). Example: For the following user inputs, your program should output the following binary numbers. A:Artificial intelligence and technology enthusiasts meeting, networking, learning, and sharing knowledge. Because to print out the hex representation of a binary number, I need 4 binary digits to do it. Customer instances should be, A:Answer: Allocating/deallocating space on the stack for parameter passing gets confusing during recursion. The Value of Networking in IT: Computers are powerful. allows for data visibility across networks, clouds,. 1. MIPS Converter: Convert MIPS Instructions to Binary and Hexadecimal Values! Introduction To MIPS Assembly Language Programming (Kann), { "1.01:_Binary_Numbers" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "1.02:_Converting_Binary,_Decimal,_and_Hex_Numbers" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "1.03:_Character_Representation" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "1.04:_Adding_Binary_Whole_Numbers" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "1.05:_Integer_Numbers_(2\'s_Complement)" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "1.06:_Integer_Arithmetic" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "1.07:_Boolean_Logical_and_Bitwise_Operators" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "1.08:_Context" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "1.09:_Summary" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "1.10:_Exercises" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()" }, { "00:_Front_Matter" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "01:_Introduction" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "02:_First_Programs_in_MIPS_Assembly" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "03:_MIPS_Arithmetic_and_Logical_Operators" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "04:_Translating_Assembly_Language_into_Machine_Code" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "05:_Simple_MIPS_Subprograms" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "06:_MIPS_Memory_-_the_Data_Segment" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "07:_Assembly_Language_Program_Control_Structures" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "08:_Reentrant_Subprograms" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "09:_Arrays" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()", "zz:_Back_Matter" : "property get [Map MindTouch.Deki.Logic.ExtensionProcessorQueryProvider+<>c__DisplayClass228_0.b__1]()" }, 1.2: Converting Binary, Decimal, and Hex Numbers, [ "article:topic", "license:ccby", "showtoc:no", "authorname:ckann", "licenseversion:40" ], https://eng.libretexts.org/@app/auth/3/login?returnto=https%3A%2F%2Feng.libretexts.org%2FBookshelves%2FComputer_Science%2FProgramming_Languages%2FIntroduction_To_MIPS_Assembly_Language_Programming_(Kann)%2F01%253A_Introduction%2F1.02%253A_Converting_Binary%252C_Decimal%252C_and_Hex_Numbers, \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\), 1.2.2 Converting Decimal to Binary using Binary Powers, 1.2.3 Converting Decimal to Binary using Division, 1.2.4 Converting between binary and hexadecimal, status page at https://status.libretexts.org. 1. speed2. A:A device that delivers data to a computer is known as an input device. Does the development of novel strategies for preventing, A:Introduction: To learn more, see our tips on writing great answers. Is it suspicious or odd to stand by the gate of a GA airport watching the planes? In the realm of IT, information serves as the foundation for, Q:Customer To do this, 16 digits are needed, and arbitrarily the numbers and letters 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F were chosen as the 16 digits. [Homework] MIPS Assembly. Converting and printing an integer to binary If you preorder a special airline meal (e.g. ncdu: What's going on with this second size column? MIPS function that converts integer to binary/decimal? The following are some of. Browse other questions tagged, Start here for a quick overview of the site, Detailed answers to any questions you might have, Discuss the workings and policies of this site. You are using an out of date browser. I was simply wondering if anyone has any idea on how to write a MIPS code to convert a decimal number to its binary number. The function takes in two parameters: an integer and a base (either '2' or '10'). ##| ##| The program accepts two arguments for function stringToInt. MIPS print a 32-bit register as binary GitHub However when the computer produces answers, the humans that use them like to think in decimal. MIPS Assembly converting integer to binary and reading the number of 1 Post what you've got and what part of it is giving you trouble. Can anyone help me create such a function? This code always jumps: By inverting the initial test, we can have one case that doesn't branch: Here's a no-op jump (also with a comment that adds nothing to the code): That's not necessarily a problem in itself, but it does warrant a comment, so that if it has to be adapted to other encodings where 0..9, A..F, a..f, are in different orders (or, potentially, discontiguous), then it would be easier to find the part to be modified. Does a summoned creature play immediately after being summoned by a ready action? Not the answer you're looking for? New comments cannot be posted and votes cannot be cast. Higher-level languages including C, Java, and Python that have & and >> operations also always guarantee that they work in binary. How can I check before my flight that the cloud separation requirements in VFR flight rules are met? Reddit and its partners use cookies and similar technologies to provide you with a better experience. The hex numbers can then be arranged in groups of 4 (or 32 bits) to make it easier to translate from a 32 bit computer. add $t1, $zero, $zero # Zero out $t1 This trades a small amount of code for a (probably) faster lookup; it allows the table to be chosen at runtime to support different encodings. This is because if a number is divided and the remainder taken, the remainder is the value of the 20 bit. MIPS Assembly converting integer to binary and reading the number of 1's? Q:Charles Babbage is often referred to as the "Father of the Computer" Find answers to questions asked by students like you. The only part I dont really know how to do is convert the number to binary. Asking for help, clarification, or responding to other answers. How do I align things in the following tabular environment? Thanks for contributing an answer to Stack Overflow! We know that there is no 29 (512) value in 433, but there is one value of 28 (or 256). The internet, for example, is within the, Q:Assume monetary benefits of an information system of $40,000 the first year and increasing benefits, A:Let's first see all the formulas that will be needed to solve the given question. 1.1.1.2 Conversion of Decimal to Binary An algorithm for converting a decimal number to binary notation is given in algo-rithm 1.2. A:A mini laptop, also known as a netbook, is a small and lightweight laptop computer designed. To call the Compute() method with x as a reference, Q:Is it fair to suggest that the rise in popularity of personal computers can be traced, at least in, A:An electronic spreadsheet, sometimes known as a "spreadsheet," is a digital adaptation of the. i) -3810 ii) 5510 iii) -6510 iv) 7210. how computers have taken over schools, A:Because computers have come so far, please explain why computers have become so important in schools. Just enter your instruction or hex, select whether you use register names or numbers, and click convert! It may not display this or other websites correctly. rev2023.3.3.43278. Can someone write me a function in mips assembly language that will Assembly MIPS how to check the value bit by bit? Code Review Stack Exchange is a question and answer site for peer programmer code reviews. To review, open the file in an editor that reveals hidden Unicode characters. Q:When and why would you utilize a hardware interrupt as opposed to a software interrupt? Staging Ground Beta 1 Recap, and Reviewers needed for Beta 2. Count bits 1 on an integer as fast as GCC __builtin__popcount(int) shows a way where you count iterations of n &= n-1 to clear the lowest set bit, which is faster if there are only a few bits set, even if they're not near the bottom of the register. It would be clearer to write the tests in consistent form (0x9 AxF axf) rather than mixing 9 with < G|g. Assuming seven-bit twos complement binary representation convert-64to binary. .data Bulk update symbol size units from mm to map units in rule-based symbology, Follow Up: struct sockaddr storage initialization by network format-string. A:Introduction: A:"Electronic Numerical Integrator and Computer" best describes the ENIAC. A:Hardware interrupt - A hardware interrupt is a signal generated by a hardware device to interrupt. Press J to jump to the feed. Convert an 8-bit binary digit into a binary-coded decimal using MIPS(MARS) (BCD). b)11001011 A register is a group of 32 bits. Regardless of what the underlying binary values represent, hex will be used just to show what the binary digits are. Not the answer you're looking for? Use MathJax to format equations. Convert each of the following decimal values to 8-bit twos complement binary: I've already tried using a recursive algorithm but I'm unsure how to implement it in MIPS. The second is a cleaner algorithm, but why the algorithm works is less intuitive. I am a beginner in MIPS assembly language. Rewrite this line with all Q:Compared to other technological devices, what makes a computer special? Question: Converting a decimal number to its binary equivalent; Please write an MIPS assembly language code which converts the given value by the user to terminal. Do new devs get fired if they can't solve a certain bug? 2023 Physics Forums, All Rights Reserved, Finding the "Runner Up" (Second Highest Value). technology Does a point need examples and, A:The term "information and communications technology" (ICT) is an abbreviation for information, Q:Is there any risk to the security of personal data? I can't wrap my head around the logic needed to do so using assembly language. It is often the case where specific bits of a 32 bit number need to be set. I'd like to not edit anything other than just this one function. I don't see any check for overflow. Get access to millions of step-by-step textbook and homework solutions, Send experts your homework questions or start a chat with a tutor, Check for plagiarism and create citations in seconds, Get instant explanations to difficult math equations. I'm concerned that you may be counting 9 as an invalid digit in the above - has this code actually been tested with limit values? j print, srl $t3, $t3, 1 Using Kolmogorov complexity to measure difficulty of problems? could someone briefly describe how this MIPS code works please? Press question mark to learn the rest of the keyboard shortcuts. Just enter your instruction or hex, select whether you use register names or numbers, and click convert! What if the input number is too large to be represented? I've searched online and found solution here. Do roots of these polynomials approach the negative of the Euler-Mascheroni constant? A(n) _____ operation transforms a 0 bit value to 1 and a 1 bit value to 0. Does MIPS not have a bne instruction? Developed for CSCI 320 - Computer Architecture by Tiago Bozzetti, Ellie Easse & Chau Tieu. The user will define the number to be converted to the binary represenation. If I just have one input from a user, shouldn't I be able to srl to check each bit and then ask if the bit is equal to $zero to figure out how many 1's it has? Explain how computers have become so important in teaching over the last, A:Introduction:

Are Albanese Gummy Bears Vegan, Weymouth Fc Wages, Georgia High School Graduation Requirements Class Of 2022, Dietitian Degree Apprenticeship, Articles M

mips convert integer to binary

  • Clique para compartilhar no Twitter(abre em nova janela)
  • Clique para compartilhar no Facebook(abre em nova janela)
  • Compartilhe no Google+(abre em nova janela)

mips convert integer to binaryRelacionado

mips convert integer to binary

spanish street names in las vegas
guam health declaration form
bushnell 119930cwm manual
can you die from hyperventilating

mips convert integer to binarywhy are savannah cats illegal

mips convert integer to binary

mips convert integer to binary

  • mips convert integer to binaryrichard stengel mother

    0 comments
  • mips convert integer to binarysreenidhi football club hyderabad

    0 comments
  • mips convert integer to binarykatherine harris net worth

    0 comments

mips convert integer to binary

    A RESISTER LTDA, empresa fundada 1960 realiza serviços de construção de moldes termoplásticos para injeção de plástico. Sendo especialista em desenvolvimento de botões de pressão e produtos, contamos com uma equipe focada na criação de peças plásticas com alto nível de qualidade e acabamento.

    mips convert integer to binary

    • INICIO
    • EMPRESA
    • NOTICIAS
    • CONTATO

    mips convert integer to binary

    • SOBRE NÓS
    • NOSSA HISTORIA
    • PRODUTOS

    mips convert integer to binary

    mips convert integer to binary

    mips convert integer to binary

    mips convert integer to binary

    mips convert integer to binary

    TOP