Prev: A7EB Up: Map Next: A82F
A80E: Process Text Token With Attributes
Used by the routine at ProcessTextTokenAndCallHandler_A709.
Input
DE Token value
ProcessTextTokenWithAttributes A80E PUSH DE Stash DE on the stack.
A80F CALL CheckTokenMatchAndSetFlag Call CheckTokenMatchAndSetFlag.
A812 POP DE Restore DE from the stack.
A813 LD A,$50 A=50.
This entry point is used by the routine at CheckObjectAttributeWithFlag.
ProcessTextTokenWithAttributes_0 A815 PUSH AF Stash AF on the stack.
A816 LD A,D A=D.
A817 AND %00001111 Keep only bits 0-3.
A819 LD D,A D=A.
A81A POP AF Restore AF from the stack.
A81B OR D Set the bits from D.
A81C LD D,A D=A.
A81D AND %00001111 Keep only bits 0-3.
A81F OR E Set the bits from E.
A820 RET Z Return if the result is zero.
A821 CALL PrintTextToken Call PrintTextToken.
A824 LD A,($A7EA) A=*A7EA.
A827 PUSH HL Stash HL on the stack.
A828 LD HL,$A026 HL=TokenFormatFlag.
A82B OR (HL) Set the bits from *HL.
A82C LD (HL),A Write A to *HL.
A82D POP HL Restore HL from the stack.
A82E RET Return.
Prev: A7EB Up: Map Next: A82F