Skip to content
Snippets Groups Projects
Commit 130d6289 authored by iftach's avatar iftach
Browse files

really tiny style fix

parent fe8811e4
No related branches found
No related tags found
No related merge requests found
......@@ -39,9 +39,9 @@ int validCond(int32_t cond, struct ProcessorState *processor)
switch (cond)
{
case 0:
return z != 0;
return z;
case 1:
return z == 0;
return !z;
case 10:
return n == z;
case 11:
......@@ -74,4 +74,4 @@ int32_t barrelShift(int immediate, int32_t operand, int *carry, struct Processor
}
*/
// TODO: applyOperation(int opcode, int32_t operator1, int32_t operator2, int *carry)
\ No newline at end of file
// TODO: applyOperation(int opcode, int32_t operator1, int32_t operator2, int *carry)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment