This code appears in the following versions (click to see it in the source code):
Code variations between these versions are shown below.
.FAROF2Name: FAROF2 Type: Subroutine Category: Maths (Geometry) Summary: Compare x_hi, y_hi and z_hi with A
Compare x_hi, y_hi and z_hi with A, and set the C flag if all three <= A, otherwise clear the C flag.
Returns: C flag Set if x_hi <= A and y_hi <= A and z_hi <= A Clear otherwise (i.e. if any one of them are bigger than A)
CMP INWK+7 \ If A < z_hi, C will be clear, otherwise C will be set
RTS \ Return from the subroutine