Prev: 29558 Up: Map Next: 29581
29566: Message: Code 2, Step By A Signed Byte
Message code 2. Steps the message pointer by a signed byte. Reached through the control-code table at PrintTable, dispatched by PrintMessage.
Message_StepByASignedByte 29566 LD E,(IX+1) Jump to Message_StepByASignedByte_ApplyTheOffset if bit 7 of the message byte at offset 1 is clear.
29569 LD D,0
29571 BIT 7,E
29573 JR Z,Message_StepByASignedByte_ApplyTheOffset
29575 LD D,255 The offset is negative, so the high byte is 255.
Message_StepByASignedByte_ApplyTheOffset 29577 ADD IX,DE Step the message pointer by the signed byte.
Codes 5, 10, 15 and 18 come straight here through the control-code table at PrintTable and do nothing.
Message_StepByASignedByte_FinishOrIgnoreTheCode 29579 XOR A Finish this control code with zero.
29580 RET Return.
View the equivalent code in;
Prev: 29558 Up: Map Next: 29581