Prev: 42987 Up: Map Next: 43055
43022: Process Text Token With Attributes
Used by the routine at ProcessTextTokenAndCallHandler_A709.
Input
DE Token value
ProcessTextTokenWithAttributes 43022 PUSH DE Stash DE on the stack.
43023 CALL CheckTokenMatchAndSetFlag Call CheckTokenMatchAndSetFlag.
43026 POP DE Restore DE from the stack.
43027 LD A,80 A=80.
This entry point is used by the routine at CheckObjectAttributeWithFlag.
ProcessTextTokenWithAttributes_0 43029 PUSH AF Stash AF on the stack.
43030 LD A,D A=D.
43031 AND %00001111 Keep only bits 0-3.
43033 LD D,A D=A.
43034 POP AF Restore AF from the stack.
43035 OR D Set the bits from D.
43036 LD D,A D=A.
43037 AND %00001111 Keep only bits 0-3.
43039 OR E Set the bits from E.
43040 RET Z Return if the result is zero.
43041 CALL PrintTextToken Call PrintTextToken.
43044 LD A,(42986) A=*42986.
43047 PUSH HL Stash HL on the stack.
43048 LD HL,40998 HL=TokenFormatFlag.
43051 OR (HL) Set the bits from *HL.
43052 LD (HL),A Write A to *HL.
43053 POP HL Restore HL from the stack.
43054 RET Return.
Prev: 42987 Up: Map Next: 43055