LATEST UPDATE

CIMA study stuff added

BOX

Monday, March 15, 2010

C.A.O lAB # 6

Q1 implement
. CLEAR
. SEt.
.TOGGLES
.NOR is used as NOT?
Q2 equivalent ststement of in terms of NOT.
NOR $S1,s2,s2
Q3 suppose $s1=0xabcd1234 and s2=0xffff0000 (ye hexa value hain answer kisi bhi form me de sakte ho.)
a.and so,s1,s2.
b. Or so,s1,s2.
c. Xor s0,s1,s2.
d. Nor so,s1s2.
e. Sll s0,s1,s2.
show the value of $so for eacf above statement independently.
Q4. generate Mips for
1. b=a*36.
2. b=a*26
3. b=a*31.
Q5 generate for
if (a==b)
c=d+e
else
c=d-e
Q6 implement functionality of blt using
bne.
Q7 implement functionality of ble using
beq.
blt mean branch if lessthen <
ble branch if lessthen equal <=

No comments:

Post a Comment

UBIT

SMS AT ANY NETWORK

STAND UP 4 THE CHAMPION

Search This Blog