Posts by naosei • 131 points
5 posts
-
0
votes1
answer88
viewsQ: MIPS: Label with number(?) on Branch on Not Equal
Okay, I have the following exercise: Taking into account the values present in the registers $t0 = 0x0000001A, $t1 = 0x00000006 and the following code to be executed by the MIPS processor, answer:…
-
0
votes1
answer1103
viewsQ: How to remove a specific item from a double-chained list?
Given class No, being: public class No<T> { T elemento; No<T> proximo; No<T> anterior; public No(T elemento, No<T> anterior, No<T> proximo) { this.elemento = elemento;…
-
5
votes1
answer606
viewsQ: Doubt with signaled binary sum
I’m studying operations with binary numbers flagged and I came up with a question I’d like you to clarify: by adding two numbers with 6 bits being 001111(+15) and 010110(+22) I got the result…
-
3
votes1
answer573
viewsQ: Problem row with priority
Someone gives me a light of what to do to solve this problem, I have no idea how to start Write a program that simulates the distribution of service passwords to a group of people. Each person can…
-
4
votes3
answers2418
viewsQ: How to make a rectangle of asterisks using for?
To solve this exercise: Write a program that prints a rectangle of n x m asterisks, in the which values of n and m are provided by the user. For example, for values of n = 5 and m = 7, the expected…