Routines 
Prev: 12457  Up: Map  Next: 12490 
This subroutine prepares a floatingpoint number for multiplication or division, returning with carry set if the number is zero, getting the sign of the result into the A register, and replacing the sign bit in the number by the true numeric bit, 1.


PREP_M_D  12480  CALL TEST_ZERO  If the number is zero, return with the carry flag set.  
12483  RET C  
12484  INC HL  Point to the sign byte.  
12485  XOR (HL)  Get sign for result into A (like signs give plus, unlike give minus); also reset the carry flag.  
12486  SET 7,(HL)  Set the true numeric bit.  
12488  DEC HL  Point to the exponent again.  
12489  RET  Return with carry flag reset. 
Prev: 12457  Up: Map  Next: 12490 