Beruflich Dokumente
Kultur Dokumente
Computer
CITA 152: COMPUTER LOGIC
FUAD URI
Homework - reflection
1. .are easy
2. .quick to finish
3. .and have deadline
Signed and Unsigned Numbers
Base 10 : 1, 2, 3, ., 10, 11,
.
= (1 8) + (0 4) + (1 2) + (1 1) ten
= 8 + 0 + 2 + 1ten
= 11ten
Exercise
1111two is
Overflow
For 32 bits number
-1110101 or 101011-?
Example
Example / quick way
Representing Instructions in Computer
add $t0, $s1, $s2
A[300] = h + A[300];
The assembler turns the assembly language program into an object file.