![]() |
Routines |
| Prev: 31436 | Up: Map | Next: 31469 |
|
Used by the routines at Inglish_ResolveTheFirstNoun and Inglish_CopyTheParserSlot.
Tests bits 0, 1 and 2 of the phrase scratch byte and the second match buffer, and reports no match when bit 1 is set.
|
||||
| Inglish_TestTheScratchBits | 31448 | LD A,(46877) | Read *46877. | |
| 31451 | BIT 2,A | Return if bit 2 of the phrase scratch byte is clear. | ||
| 31453 | RET Z | |||
| 31454 | LD HL,31038 | Return if bit 0 of the second match buffer is set. | ||
| 31457 | BIT 0,(HL) | |||
| 31459 | RET NZ | |||
| 31460 | BIT 1,A | Jump to Inglish_TestTheScratchBits_ReturnZero if bit 1 of the phrase scratch byte is set. | ||
| 31462 | JR NZ,Inglish_TestTheScratchBits_ReturnZero | |||
| 31464 | OR 1 | Clear the zero flag. | ||
| 31466 | RET | Return. | ||
| Inglish_TestTheScratchBits_ReturnZero | 31467 | XOR A | Return zero from the scratch-bit test. | |
| 31468 | RET | Return. | ||
|
View the equivalent code in;
|
||||
| Prev: 31436 | Up: Map | Next: 31469 |