![]() |
Routines |
Prev: 350B | 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 OR Y' and returns X if Y is zero and the value 1 otherwise.
|
||||||||||||
no_or_no | 351B | EX DE,HL | Point HL at Y, the second number. | |||||||||
351C | CALL TEST_ZERO | Test whether Y is zero. | ||||||||||
351F | EX DE,HL | Restore the pointers. | ||||||||||
3520 | RET C | Return if Y was zero; X is now the 'last value'. | ||||||||||
3521 | SCF | Set the carry flag and jump back to set the 'last value' to 1. | ||||||||||
3522 | JR FP_0_1 |
Prev: 350B | Up: Map |