Computer Science Notes

Notes From CS Undergrad Courses FSU

This project is maintained by awa03

& compares every bit

0|0|0|1|0|0|0|1 -|-|-|-|-|-|- 0|0|0|1|0|1|1|0 -|-|-|-|-|-|-

|| operates in the following way

Xor works in the following way

Xor being the negated version of or

Bitwise Logical Instructions

How to implement NOT using NOR?

ADD $target, $source1, $source2

The key letter I may be added in order to add an intermediate. The key letter U may be used in order to make it unsigned

Memory Operands

g = h + A[5]

lw $t0, 20($s3) #load the element at a 20 byte offset from $s3
add $s1, $s2, $t0