int e l 9.6 ADDED LINK ROUTINES TO VERSION 1.1 LOC OBJ LINE SOURCE 20C8 7498 116 MOV A,#98H 20CA 120030 117 LCALL 30H 118 20CD 851A82 119 LOOP3:
MOV DPL,1AH ; Now, set up to read 16 bytes 20D0 851B83 120 MOV DPH,1BH ; put address in DPTR 121 20D3 E0 122 MOVX A,@DPTR ; Read the byte in external RAM 20D4 A3 123 INC DPTR ; Bump to the next location 124 20D5 85821A 125 MOV 1AH,DPL ; Save the Address 20D8 85831B 126 MOV 1BH,DPH 127 20DB F9 128 MOV R1,A ; Output the byte 20DC 7B00 l29 MOV R3,#0 ; The high byte is always zero 20DE D236 130 SETB 36H ; Suppress leading Zeros 20E0 7498 131 MOV A,#98H 20E2 120030 132 LCALL 30H 133 20E5 E51A 134 MOV A,1AH ; Check to see if on a 16 byte boundary 20E7 540F 135 ANL A,#0FH 20E9 70E2 136 JNZ LOOP3 ; Loop until on a 16 Byte Boundary 20EB 80C1 137 SJMP LOOP1 138 139 DUMMY:
140 20ED 7407 141 MOV A,#7 ; Do a carriage return-line feed 20EF 120030 142 LCALL 30H 143 20F2 7B21 144 MOV R3,#HIGH D_MSG; Display the error message 20F4 7915 145 MOV R1,#LOW D_MSG 20F6 D234 146 SETB 52 ; Print from ROM 20F8 7406 147 MOV A,#6 20FA 120030 148 LCALL 30H 20FD E4 149 CLR A ; Go back to the command mode 20FE 020030 150 LJMP 30H 151 152 C_ERROR: 153 2101 7407 154 MOV A,#7 ; Do what we did before 2103 120030 155 LCALL 30H 156 2106 7B21 157 MOV R3,#HIGH C_MSG 2108 793B 158 MOV R1,#LOW C_MSG 210A D234 159 SETB 52 210C 7406 160 MOV A,#6 210E 120030 161 LCALL 30H - 127 -