Prev: 13579 Up: Map Next: 13604
13595: THE 'OR' OPERATION (offset 7)
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 OR Y' and returns X if Y is zero and the value 1 otherwise.
Input
DE Address of the first byte of the second number (Y)
HL Address of the first byte of the first number (X)
no_or_no 13595 EX DE,HL Point HL at Y, the second number.
13596 CALL TEST_ZERO Test whether Y is zero.
13599 EX DE,HL Restore the pointers.
13600 RET C Return if Y was zero; X is now the 'last value'.
13601 SCF Set the carry flag and jump back to set the 'last value' to 1.
13602 JR FP_0_1
Prev: 13579 Up: Map Next: 13604