From a6a10e84759a17ac590f01168bd6a990dd28c3d2 Mon Sep 17 00:00:00 2001 From: Rushil Umaretiya Date: Fri, 22 Mar 2024 17:25:02 -0400 Subject: [PATCH] added NOR break --- lab04 | Bin 22888 -> 22912 bytes lab04.c | 1 + 2 files changed, 1 insertion(+) diff --git a/lab04 b/lab04 index 4f12e0327620ccc88a23feb62fb08f5bd3a76c71..56f72c9dec28a67103d2f33ecc697648f83ed8ea 100755 GIT binary patch delta 1024 zcmchW+e=hY6vofm&e1uO<2X9bjUgRJ8GF#N2QSk@YTk}1#K=Tr8a*T;QEAabsHB1v zlL(EghbWN(-xAD@*ySOc5|lzxi*6DU8EKhjrsIp9);M1J3tF(h-`V@D^L?9r*t7Sb zMS`m-kn7tst#S(7MmYtHfiz(tEHoXEO27fyGHYnMP4u#9ozVa7P*c{Ai+>8o0_7+B zysGLi9a2+Rgcjz|=-t8JR0h{ZW(U_~c__Fx+l4-Z3-;j|qZ!u?yFiD6 zF@Y`HvCe2xTX(F-?C3IDSYPl(Qk2*JPf!)!Hpa##Y+APjwybNU5##&t&V;UJ2dxE% zVI{<^`Tt<;ifrBpf4UjIdsUV%&#c%FETc>e3`x{-l5b2qK>?S1r6mKT!_Y( zRxP~4PgVygQJZKt)zg0HG`Gt_PgOKr=t_)-d^}5Vl z9Aylj*~=%(eEdN^xtCWf%cR`Aa2|6N3aPB<6u@14SX>Nc2;y7H#t&j9Oi9|32nGSk zRJy2y(Qbv!IK3KFwc_%DcDLX QqM!5@LPZWtVqS&)FT%l(g#Z8m delta 879 zcmchV?@Lor7{~8(wz;{SKlkI_6!kh|lhoM@Ta!XZVpsMe%tgCOAyJ_aK@w&tR3POF zA$tTfMF@J)3nA?ECW+LFdLuYrM2#$cQJ^H6hK5+&o^4wHK?lzF!*lL=zTd;S=NgBF zCve9N?%tv~bJQfnN7RIwP?|iVOOzwL7CewqEhoyq#4ww)1}+}7bU*erRw=jO-PA_K zG4Eh5@6;JHARW7`qxwB*H}|5?)~f#sf`Bu2E55S%pbvlBRH(oc_D1$uz^C>QbfLu& zD*jfY+%~Ma1wjcri9-v*f%w8Jhry*3s)U=?7kbPMF~%eyWkSG zi21BOzF?7OlzU2#HP%|<#!)ecrNurJrY^b!;aoU{#gm>RNLg9!+urj(cf8+lmlRFH zbW_va{GqGU8=4lIj`ak0>i@y!buBX<{&G7!mk!d7<+8J7c3IP2(@mUT(X=IEC$W!s z_PeI(>548B3yEQ3HF1!5hB!s+B5n~M5{p;Khxn2Bg?M3&`k5en_(A=|dYqJ9FprC} zhkmM5;DUDa7dSvgwIB}yc!l&34v>2A8EF+pNsr=>1kA*dGZLQbdamy zPffqU4qK9RZ7juT5^`v1h|-OG!09#P1T$fzhzG!>&gRq z*4B^1zTINmBE3`A+bpClk*$(rBO@9eJmOn6z$_oHybiptYFYsv;mnaEP>quE zp3HGg*$*AOsMg4!pYIE-n81Q^&|{8>2^-qd5Uc?|J_ve}|2_R^(3?CVC$>y*>9|n` dwJ3+YFpO%b5>j!1v<#!9-6*M*Fovq?`U9`4bx;5R diff --git a/lab04.c b/lab04.c index 9cd095a..f89be35 100644 --- a/lab04.c +++ b/lab04.c @@ -98,6 +98,7 @@ void execute_r_instruction(r_instruction* instruct) { case NOR_FUNC: registers[instruct->rd] = ~(registers[instruct->rs] | registers[instruct->rt]); + break; default: fprintf(stderr, "Invalid function code!\n"); exit(EXIT_FAILURE);