Prev: 29629 Up: Map Next: 29654
29634: Message: Code 9, Print The Second Noun
Message code 9. Prints the second noun of the command. Reached through the control-code table at PrintTable, dispatched by PrintMessage.
Message_PrintTheSecondNoun 29634 LD A,1 Write 1 to *46851.
29636 LD (46851),A
This entry point is used by the routine at Inglish_DescribeTheAction.
Message_PrintTheSecondNoun_0 29639 LD A,(46847) Read *46847.
29642 AND A See whether the second-noun flag is zero.
29643 LD A,(46825) Read the second object.
This entry point is used by the routine at Message_PrintTheObject.
Message_PrintTheSecondNoun_1 29646 JR Z,Message_NameByTheIndirectPointer Jump to Message_NameByTheIndirectPointer if the second-noun flag is zero.
29648 PUSH HL Call Table_AddressPastTheLocation to find the address of the location's name.
29649 CALL Table_AddressPastTheLocation
29652 JR Message_NameByTheIndirectPointer_Print Jump to Message_NameByTheIndirectPointer_Print to print the noun.
View the equivalent code in;
Prev: 29629 Up: Map Next: 29654