Characters take up 1 byte
and integers 4 bytes
. –Largest unsigned # that can be stored in 16 bits is 2
16
1
and largest signed is 2
15
1
Smallest signed # that can be stored in 16 bits
(2
16
1). –Largest value that can be added in the
addiu
is FFFF
. 26 bit address in the J
type instruction is multiplied by 4 and the placed into the lower 28 bits of the PC
. –The displacement in the
beq
instruction is multiplied
by 4 and then added to the PC to obtain the memory address
. –The largest displacement in the
sw
instruction is FFFF
. –A number is
stored in 8 bits using 2’s complement representation, what is the largest # that can be stored 2
7
1
. –Double precision values
require that
register pairs be used with the first register being even. –When adding floating point numbers
the smaller value is shifted so the exponent
matches the largest value. –The value stored in
1.0
in the exponent using the IEEE standard is 01111111
. –In division Hi
for remainder
and Lo
for quotient.
Int list [4]={1,2,3,4};
This is the end of the preview. Sign up
to
access the rest of the document.
This note was uploaded on 04/06/2009 for the course EEE 230 taught by Professor Nakamura during the Spring '08 term at ASU.
 Spring '08
 Nakamura

Click to edit the document details