Arm/ifelse1

From ASMBits

Write a function that determines whether its parameter is odd, then calls odd or even depending on whether the number is odd or even.

void oddeven (int n);

You are provided the functions odd and even. To make the problem easier, these two functions do not clobber any registers.


Expected solution length: Around 5 lines.

Sample Input

1

Sample Output

[no output, odd() is called]

Write your solution here

Upload a source file...