Register to reply

Using PC SPIM and converting hex and binary

by TBonety
Tags: binary, hex, mips
Share this thread:
Mar22-12, 08:10 PM
P: 1
Hi there, new to the forums, but in need of assistance. I have been looking around and have found some helpful stuff on this site. I found myself visiting this site more then once, so i decided to make an account. Anyways my problem is I have to choose any two mips instructions from this code i wrote and convert them into hex and binary. My problem is im kinda stuck.
I have chosen to do for one of my lines a simple addi function. It is:

addi $t2,$t2,1: to simply add one to my value stored in $t2.

in my pcspim i have some values and am unclear as what they do and how i should approach starting this.



My apologies if this is a very "newb" question but if i could just get a pointer on how to start this i would very much appreciate it.
Phys.Org News Partner Science news on
Flapping baby birds give clues to origin of flight
Prions can trigger 'stuck' wine fermentations, researchers find
Socially-assistive robots help kids with autism learn by providing personalized prompts

Register to reply

Related Discussions
Converting Binary to Mips Engineering, Comp Sci, & Technology Homework 5
Converting Mips to binary Engineering, Comp Sci, & Technology Homework 13
Converting numbers (binary and so on) Engineering, Comp Sci, & Technology Homework 4
Converting Decimal to Binary Electrical Engineering 3
Converting decimal to binary Calculus & Beyond Homework 5