Performs addition, subtraction, multiplication, and division on signed/unsigned hex numbers.