Questions tagged as 'mips'

1
answer

MIPS: Label with number (?) on Branch on Not Equal

Ok, I have the following exercise:    Considering the values in the registers $ t0 = 0x0000001A, $ t1 =   0x00000006, and the following code to be run by the MIPS processor, answer: add $t2, $t0, $t1 srl $t3, $t2, 1 addi $t3, $t3, -8 div $...
asked by 30.09.2018 / 04:51
1
answer

Questions Assembly mips

Could someone explain me how to use And, Andi, Or, Ori, Nor in Assembly mips? I would like to do something like this: se (num1 > 0) e (num2 > 0) entao se (num1 <= 10) e (num2 <= 10) entao cont <- num1 + num2 se...
asked by 19.01.2017 / 17:20
1
answer

Capture mouse click Mars

There is some syscall or other mechanism that can capture the mouse click through the Mars mips simulator.     
asked by 04.08.2017 / 15:17
1
answer

How do I receive input from the user?

.data StringOriginal: .asciiz "Frase Introduzida:\n" #ex_msg_og StringFinal: .asciiz "\nFrase Encriptada:\n" String: .asciiz "Hello World" .text Main: la $v1,String #load addr of string into $v0 la $t1,($v1) #copy addr in...
asked by 15.06.2017 / 22:37