Define:
Binary Digit
Also known as binary bit
Define:
Least significant bit
The rightmost bit in a MIPS word
Define:
Most significant bit
The leftmost bit in a MIPS word
Define:
Instruction format
This is a form of representation of an instruction composed of fields of binary numbers
Define:
Machine language
This is the binary representation used for communication within a computer system
Define and explain:
Unsigned Binary Integers
Modern computers support binary integers of 8, 16, 32, or 64 bits
the largest value in any unsigned binary integer system is:
What is the largest value possible in N bits for unsigned binary integers?
largest value possible in N bits is:
2N -1
Image;

Explain:
One’s complement
This is a notation that represents:
This notation leaves an equal number of negatives and positives but ends up with two zeroes
The term is also used to mean the Inversion of every bit in a pattern:
0 to 1 and 1 to 0
Negation shortcut:
Explain this concept
This is also known as:
Bitflipping
Suppose we want to come up with the 1’s complement representation for the number -2 in base 10…
OR
Another shortcut of bitflipping is:
you may flip all the bits to the left of the least significant set bit…
Explain the concept of:
2s- complement signed integers
Given an N-bit number…
we can let its range be:
So, using 32 bits yield the range:
Image:

Example of:
2s-Complement signed integers

Explain:
Signed Negation
Complement and add 1:

About Sign Extension Concept
Image:

About Hexadecimal concept
Image:

Signed Vs. Unsigned
Image:

Define leaf procedures
This are types of procedures that doesn’t call any other procedures
Leaf Procedure Example:


Define non-leaf procedures
These are procedures that call other procedures
For nested call, caller needs to save on the stack:
Image:

Non-leaf procedure Example:

No answer to this, just an example of the non-leaf procedure, check question