R type, Alu and Logic Flashcards

1
Q

ADD, ADDI, ADDUI, do what?

A

add numbers signed, unsigned, and immediate.
ADD R3, R2, R1
R1 + R2 to R3, signed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

SUB, SUBI, SUBU, SUBUI, do what?

A

subtract signed, unsigned, immediate,
SUBI R3, R2, #42
R2 - 42 to R3 signed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

MULT, MULTU, DIV, DIVI, do what?

A

multiply signed and unsigned floating point numbers
MULT F3, F2, F1
Multiply F2 and F1 to F3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

AND, ANDI do what?

A

Logical and also with immediate
ANDI R3, R2, #16
bit 4 from R2 to R3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly