Routines 
Prev: 3524  Up: Map 
The address of this routine is found in the table of addresses. It is called indirectly via fp_calc_2.
This subroutine performs the binary operation 'X$ AND Y' and returns X$ if Y is nonzero and a null string otherwise.


str_no  352D  EX DE,HL  Point HL at Y, DE at X$.  
352E  CALL TEST_ZERO  Test whether Y is zero.  
3531  EX DE,HL  Swap the pointers back.  
3532  RET NC  Return with X$ as the 'last value' if Y was nonzero.  
3533  PUSH DE  Save the pointer to the number.  
3534  DEC DE  Point to the fifth byte of the string parameters, i.e. lengthhigh.  
3535  XOR A  Clear the A register.  
3536  LD (DE),A  Lengthhigh is now set to zero.  
3537  DEC DE  Point to lengthlow.  
3538  LD (DE),A  Lengthlow is now set to zero.  
3539  POP DE  Restore the pointer.  
353A  RET  Return with the string parameters being the 'last value'. 
Prev: 3524  Up: Map 