I have to write a little program in assembly for the MIPS architecture. To be more specific it should be a procedure which takes a register and prints the value of it. It is allowed to use everything excepted a call of print_int. My procedure does: 1. Split up the given register into digits 2. Convert them into ascii 3. Store them on the stack I now have values like 52 or 53 on the stack and I want to print them with print_string but how can I achieve this? Thanks for your help.
1
There are 1 best solutions below
Related Questions in ASSEMBLY
- (x64 Nasm) Writeline function on Linux
- Is the compiler Xcode uses to produce Assembly code a bad compiler?
- Why do we need AX instead of MOV DS, data directly with a segment?
- Bootloader in Assembly with Linux kernel
- How should the byte sequence 0x40 0x55 be interpreted by an x86-64 emulator?
- C++ code into assembly
- Drawing circles of increasing radius
- Assembly print on screen using pop ecx
- Equivalent to asm volatile in Gfortran?
- Show 640x480 BMP image with inline ASM c++
- Keep track of numbers entered in by a user in assembly
- 8086 Assembly Arrays with I/O
- DB ASM variable in Inline ASM C++
- What does Jump to means in callgrind?
- How to convert binary into decimal in assembly x8086?
Related Questions in ASCII
- Keep track of numbers entered in by a user in assembly
- javascript treating special characters as utf characters
- Determining ISO-8859-1 vs US-ASCII charset
- Why is backspace allowed in my jQuery whether I filter it out or not?
- Forming an inverted ascii triangle art using JS looping
- Isn't '\0' != 0 true?
- Python-like Byte Array String representation in C#
- Best way to Convert pairs of base 10 integers to ascii characters in python
- how do i convert a hex string to its unicode ascii equivalent in swift?
- █ character string indexed in python
- Match high ASCII characters (but not the letter i)
- What is a code point and code space?
- How to remove repeated letter from words in Java
- How to get the ascii code for "x"
- Traceback from a Python Script: invalid literal
Related Questions in MIPS
- Encode in machine code an Assembly MIPS instruction
- How to represent mips instruction as it's hex representation
- MIPS: is it possible to overwrite certain words of a file?
- Get conditional branch slot from MIPS cross compiler
- Why load address works different on words and labels with strings?
- passing a parameter in mips
- calculate minimum of array
- How can I access the individual elements of an array in a loop?
- storing array from user and accessing it
- How to demonstrate a 32-bit MIPS with FPUs in a FPGA?
- MIPS: accessing memory addresses with big/small endian
- MIPS Why I can't print the selected array position?
- MIPS, why this branch doesn't work?
- About the latches generated by "case" syntax
- MIPS Code that reads number of lower case letters
Related Questions in SPIM
- SPIM print ascii char
- SPIM - Are register/memory values retained until SPIM is reinitialized?
- SPIM: Cannot open file
- Trouble writing from a MIPS program to a .txt file
- Measure execution time, using SPIM
- Understanding recursion with MIPS assembly language
- How to implement MIPS methods
- Spim MIPS Simulator not launching (Stanford cs143)
- Continuous Arithmetic Overflow
- calculating offset
- Whats wrong with this MIPS/QtSPIM While Loop Code
- Mips how to store user input string
- How would i get this program to show show instead of three?
- Unaligned address in inst/data fetch: 0x100100cb -> Exception 4 [Address error in inst/data fetch] occurred and ignored
- How do you enter command line arguments in SPIM
Related Questions in QTSPIM
- Running on MARS but not running on Qtspim
- In MIPS Assembly language, when do you know when to use syscall?
- Opening file always returns "-1" in QtSpim
- MIPS Assembly Alignment Align n
- How to call a function with to parameters in mips32
- Write two string words and add them in one sentence (MIPS)
- SPIM print ascii char
- Java to mips assembly exercise
- MIPS Assembly - Arrays?
- MIPS 32 always stores 10 mul and li in $t
- string length for mips assembly
- Getting Memory out of bounds exception while running code in QTSPIM
- Qtspim memory and registers cleared error
- GCC porting to new target using software floating point library
- Program to print float in IEEE-754 only works on MARS
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You write 3. Store them on the stack. Since you are allowed to use everything excepted a call of print_int why don't you store them in succesive memory bytes before using print_string to ouput the result.