1 $NOPAGING
2 $MOD252
3
0000 4 ORG 0000h
0000 020100 5 LJMP MAIN
0100 6 ORG 0100h
7
0100 7E3C 8 MAIN: MOV R6,#60d
0102 758910 9 MOV TMOD,#10h
0105 7964 10 MOV R1,#100d
11
0107 758DB1 12 NEXT: MOV TH1,#0B1h
010A 758BE0 13 MOV TL1,#0E0h
010D D28E 14 SETB TR1
15
010F 308FFD 16 WAIT1: JNB TF1, WAIT1
0112 C28E 17 CLR TR1
0114 C28F 18 CLR TF1
0116 D9EF 19 DJNZ R1, NEXT
0118 02011B 20 LJMP HERE
21
011B 02011B 22 HERE: LJMP HERE
23
24 END
25
VERSION 1.2h ASSEMBLY COMPLETE, 0 ERRORS FOUND
HERE . . . . . . . . . . . . . . C ADDR 011BH
MAIN . . . . . . . . . . . . . . C ADDR 0100H
NEXT . . . . . . . . . . . . . . C ADDR 0107H
TF1. . . . . . . . . . . . . . . B ADDR 008FH PREDEFINED
TH1. . . . . . . . . . . . . . . D ADDR 008DH PREDEFINED
TL1. . . . . . . . . . . . . . . D ADDR 008BH PREDEFINED
TMOD . . . . . . . . . . . . . . D ADDR 0089H PREDEFINED
TR1. . . . . . . . . . . . . . . B ADDR 008EH PREDEFINED
WAIT1. . . . . . . . . . . . . . C ADDR 010FH