OPCODES ADD 08 0000 1000 SUBTRACT 09 0000 1001 MULTIPLY 0A 0000 1010 DIVIDE 0B 0000 1011 INPUT NUMBERS X_sign 0 0 X_exponent_excess127 30 00110000 X_mantessa_explicit B60000 10110110 0000 0000 0000 0000 X_pipe 18360000 0001100000110110 0000 0000 0000 0000 Y_sign 0 0 Y_exponent_excess127 38 00111000 Y_mantessa_explicit 920000 10010010 0000 0000 0000 0000 Y_pipe 1C120000 0001110000010010 0000 0000 0000 0000 Z_sign 0 0 Z_exponent_excess127 7F 01111111 Z_mantessa_explicit 920000 10010010 0000 0000 0000 0000 Z_pipe 3F920000 0011111110010010 0000 0000 0000 0000 Q_sign 0 0 Q_exponent_excess127 33 00110011 Q_mantessa_explicit FF0000 11111111 0000 0000 0000 0000 Q_pipe 19FF0000 0001100111111111 0000 0000 0000 0000 R_sign 0 0 R_exponent_excess127 30 00110000 R_mantessa_explicit 810000 10000001 0000 0000 0000 0000 R_pipe 18010000 0001100000000001 0000 0000 0000 0000 DEFINE A = X + Y S = X - Y M = X * Z D = Q / R A_sign 0 0 A_exponent_excess127 38 00111000 A_mantessa_explicit 92B600 10010010 1011 0110 0000 0000 A_pipe 1C12B600 0001110000010010 1011 0110 0000 0000 S_sign 1 1 S_exponent_excess127 38 00111000 S_mantessa_explicit 914A00 10010001 0100 1010 0000 0000 S_pipe 9C114A00 1001110000010001 0100 1010 0000 0000 M_sign 0 0 M_exponent_excess127 30 00110000 M_mantessa_explicit CF9800 11001111 1001 1000 0000 0001 M_pipe 184F9801 0001100001001111 1001 1000 0000 0001 D_sign 0 0 D_exponent_excess127 82 10000010 D_mantessa_explicit FD05F4 11111101 0000 0101 1111 0100 D_pipe 417D05F4 0100000101111101 0000 0101 1111 0100 TESTS ADD PIPE IN 08 18 36 00 00 1C 12 00 00 PIPE OUT 1C 12 B6 00 SUBTRACT PIPE IN 09 18 36 00 00 1C 12 00 00 PIPE OUT 9C 11 4A 00 MULTIPLY PIPE IN 0A 18 36 00 00 3F 92 00 00 PIPE OUT 18 4F 98 01 DIVIDE PIPE IN 0B 19 FF 00 00 18 01 00 00 PIPE OUT 41 7D 05 F4