![]() |
Routines |
| Prev: 351B | Up: Map | Next: 352D |
|
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 non-zero and the value zero otherwise.
|
||||||||||
| no_and_no | 3524 | EX DE,HL | Point HL at Y, DE at X. | |||||||
| 3525 | CALL TEST_ZERO | Test whether Y is zero. | ||||||||
| 3528 | EX DE,HL | Swap the pointers back. | ||||||||
| 3529 | RET NC | Return with X as the 'last value' if Y was non-zero. | ||||||||
| 352A | AND A | Reset the carry flag and jump back to set the 'last value' to zero. | ||||||||
| 352B | JR FP_0_1 | |||||||||
| Prev: 351B | Up: Map | Next: 352D |