em đã test trên proteus ok nhưng làm mạch thật thì không hiển thị.
em làm mạch khóa số nhưng chỉ nhập pass được lần đầu tiên, lần thứ 2 thì nhũng giá trị ở ô nhớ ban đầu em thiết lập bị thay đổi nên em nhập đúng giá trị nhưng vẫn báo sainguyendinhgiap11101905@gmail.com. mọi người giúp em đi ạ. cuối tuần sau em phải nộp bài rùi. thanks mọi người. có gì mọi người góp ý dùm e qua mail nguyendinhgiap11101905@gmail.com
code cua e day a:
;------DO AN MON HOC 1 ------------------------
; NGUOI THUC HIEN: NGUYEN DINH GIAP
; LOP: DV11
; DE TAI:
; NGAY THUC HIEN: 24-02-2014
; NGAY HOAN THANH:
;--------------- DINH NGHIA ------------
;---chan ma tran phim
H_0 EQU P3.0
H_1 EQU P3.1
H_2 EQU P3.2
H_3 EQU P3.3
C0 EQU P3.4
C1 EQU P3.5
C2 EQU P3.6
C3 EQU P3.7
;----chan lcd
E EQU P2.5
RS EQU P2.7
RW EQU P2.6
BF EQU P0.7
LCD EQU P0
UNLOCK EQU P2.3
LOCK EQU P2.4
;--------------------------------
ORG 0
;---- THIET LAP LCD --------------
MOV 41H,#2
MOV 42H,#8
MOV 43H,#0
MOV 44H,#4
MOV 45H,#9
MOV 46H,#3
MOV R6,#0
MOV R5,#3
CLR LOCK
CLR RS
CLR RW
MOV LCD,#38H
CLR E
SETB E
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#06H
CLR E
SETB E
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#00001110B
CLR E
SETB E
MAIN:
CALL CHECK_BF
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#DONG1_CHAO
CALL HIEN_THI
CALL CHECK_BF
MOV DPTR,#DONG2_CHAO
CALL DONG_2
CALL CHECK_BF
CALL HIEN_THI
CALL CHECK_BF
CALL TRE
CALL TRE
CALL TRE
CALL TRE
CALL TRE
CALL TRE
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#DONG3_CHAO
CALL HIEN_THI
CALL CHECK_BF
MOV DPTR,#DONG4_CHAO
CALL DONG_2
CALL CHECK_BF
CALL HIEN_THI
CALL CHECK_BF
;---------- CT ON-------------
CT_ON:
MOV P3,#11111110B
JB C3,$
CALL ON
CALL QUET_PHIM
TIEP:
MOV P3,#11111110B
JB C0,TIEP_1
CALL DOI_PASS
CALL QUET_PHIM
TIEP_1:
JB C1,TIEP
CALL THOAT
RET
THOAT:
SETB UNLOCK
CLR LOCK
JMP MAIN
;--------------------- QUET PHIM -----------------------------------------------------------------------------------------------------------------------------------------------
QUET_PHIM:
MOV P3,#11111110B
L1:
JB C0,L2
CALL SO_1
L2:
JB C1,L3
CALL SO_2
L3:
JB C2,L4
CALL SO_3
L4:
MOV P3,#11111101B
JB C0,L5
CALL SO_4
L5:
JB C1,L7
CALL SO_5
L7:
JB C2,L8
CALL SO_6
L8:
JB C3,L9
JMP CT_OFF
L9:
MOV P3,#11111011B
JB C0,L10
CALL SO_7
L10:
JB C1,L11
CALL SO_8
L11:
JB C2,L12
CALL SO_9
L12:
MOV P3,#11110111B
JB C1,L13
CALL SO_0
L13:
JB C3,QUET_PHIM
CALL XOA
RET
;----------------THI HANH PHIM --------------
;----------- DAP UNG BAN PHIM
SO_0:
CALL DELAY
JNB C1,$
MOV 30H,#0H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_1:
CALL DELAY
JNB C0,$
MOV 30H,#1H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_2:
CALL DELAY
JNB C1,$
MOV 30H,#2H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_3:
CALL DELAY
JNB C2,$
MOV 30H,#3H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_4:
CALL DELAY
JNB C0,$
MOV 30H,#4H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_5:
CALL DELAY
JNB C1,$
MOV 30H,#5H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_6:
CALL DELAY
JNB C2,$
MOV 30H,#6H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_7:
CALL DELAY
JNB C0,$
MOV 30H,#7H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_8:
CALL DELAY
JNB C1,$
MOV 30H,#8H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_9:
CALL DELAY
JNB C2,$
MOV 30H,#9H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
;;;;;;-------------------------------------------------------
KT_ENTER:
MOV P3,#11111011B
JB C3,$
CALL DELAY
JNB C3,$
CALL SO_SANH
RET
XOA:
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#04H
CLR E
SETB E
SETB RS
CLR RW
MOV LCD,#' '
CLR E
SETB E
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#0C6H
CLR E
SETB E
RET
CT_OFF:
JMP MAIN
RET
;----------CHUONG TRINH CON
CAT_MA:
INC R6
MOV P1,R6
MOV A,R6
CJNE A,#1,TIEP1
MOV 31H,30H
MOV P1,31H
TIEP1:
CJNE A,#2,TIEP2
MOV 32H,30H
MOV P1,32H
TIEP2:
CJNE A,#3,TIEP3
MOV 33H,30H
MOV P1,33H
TIEP3:
CJNE A,#4,TIEP4
MOV 34H,30H
MOV P1,34H
TIEP4:
CJNE A,#5,TIEP5
MOV 35H,30H
MOV P1,35H
TIEP5:
CJNE A,#6,TIEP6
MOV 36H,30H
MOV 21H,#0
MOV P1,36H
CALL KT_ENTER
RET
TIEP6:
CALL QUET_PHIM
SO_SANH:
MOV A,31H
CJNE A,41H,WRONG
MOV A,32H
CJNE A,42H,WRONG
MOV A,33H
CJNE A,43H,WRONG
MOV A,34H
CJNE A,44H,WRONG
MOV A,35H
CJNE A,45H,WRONG
MOV A,36H
CJNE A,46H,WRONG
CLR UNLOCK
SETB LOCK
CALL DUNG_PASS
RET
DUNG_PASS:
MOV R6,#0
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#DUNG
CALL HIEN_THI
MOV DPTR,#MOI_VAO
CALL CHECK_BF
CALL DONG_2
CALL CHECK_BF
CALL HIEN_THI
CLR UNLOCK
SETB LOCK
CALL TRE
CALL TRE
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#DOI
CALL HIEN_THI
CALL CHECK_BF
CALL DONG_2
MOV DPTR,#THOAT_1
CALL CHECK_BF
CALL HIEN_THI
CALL TIEP
RET
WRONG:
MOV P1,42H
MOV A,#0
MOV R6,#0
CALL CHECK_BF
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#SAI
CALL HIEN_THI
CALL CHECK_BF
CALL DONG_2
MOV DPTR,#NHAP_LAI
CALL CHECK_BF
CALL HIEN_THI
CALL CHECK_BF
CALL CON_TRO_1
DJNZ R5,NEXT_1
CALL CHECK_BF
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#TROM_1
CALL HIEN_THI
CALL CHECK_BF
CALL DONG_2
MOV DPTR,#TROM_2
CALL CHECK_BF
CALL HIEN_THI
MOV R5,#3
LOOP3:
SETB LOCK
CALL DELAY
CLR LOCK
JMP LOOP3
RET
NEXT_1:
CALL QUET_PHIM
;-------------- HIEN THI LUA CHON
;----------------------------------------------------------
ON:
CALL DELAY
JNB C3,$
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#NHAP1
CALL HIEN_THI
CALL CHECK_BF
CALL DONG_2
MOV DPTR,#PASS1
CALL CHECK_BF
CALL HIEN_THI
CALL CON_TRO
RET
DOI_PASS:
CALL DELAY
JNB C1,$
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#DOI1
CALL HIEN_THI
MOV DPTR,#PASS2
CALL CHECK_BF
CALL DONG_2
CALL CHECK_BF
CALL HIEN_THI
CALL CHECK_BF
CALL CON_TRO
RET
;----------------------- HIEN THI CHUOI
HIEN_THI:
MOV A,R0
MOVC A,@A+DPTR
ACALL XUAT ; Goi chuong trinh hien thi
ACALL DELAY
MOV A,#06H ; Dich con tro sang phai
CALL Delay
INC R0
CJNE R0,#16,HIEN_THI
MOV R0,#0
CALL DELAY
RET
;;;;;;;;------------------------
XUAT:
SETB RS
CLR RW
MOV LCD,A
CLR E
SETB E
CALL CHECK_BF
RET
CON_TRO:
CLR RS
CLR RW
MOV LCD,#0C6H
CLR E
SETB E
RET
CON_TRO_1:
CLR RS
CLR RW
MOV LCD,#0C9H
CLR E
SETB E
RET
CHECK_BF:
CLR RS
SETB RW
SETB BF
AGAIN:
CLR E
SETB E
JB BF,AGAIN
RET
XOA_LCD:
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#00000001B
CLR E
SETB E
CALL DONG_1
RET
DONG_1:
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#80H
CLR E
SETB E
RET
DONG_2:
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#11000000B
CLR E
SETB E
RET
DELAY:
MOV TMOD,#01H
MOV TH0,#HIGH(-1000)
MOV TL0,#LOW(-1000)
SETB TR0
JB TF0,$
CLR TR0
CLR TF0
RET
TRE:
MOV TMOD,#01H
MOV R1,#20
LOOP2:
MOV TH0,#HIGH(-50000)
MOV TL0,#LOW(-50000)
SETB TR0
JB TF0,$
DJNZ R1,LOOP2
CLR TR0
CLR TF0
RET
DONG1_CHAO: DB ' DH GTVT TP HCM '
DONG2_CHAO: DB 'DO AN MON HOC 1 '
DONG3_CHAO: DB 'NGUYEN DINH GIAP'
DONG4_CHAO: DB 'DV11-1151040014 '
THOAT1: DB 'CAM ON BAN DA '
THOAT2: DB 'SU DUNG HE THONG'
NHAP1: DB 'MOI NHAP PASS '
DOI: DB '1. DOI PASS '
THOAT_1: DB '2. THOAT CT '
PASS1: DB 'PASS: '
DOI1: DB 'NHAP PASS CU '
PASS2: DB 'PASS: '
DUNG: DB ' PASS DUNG '
MOI_VAO: DB ' MOI VAO '
SAI: DB 'PASS SAI '
NHAP_LAI: DB 'NHAP LAI: '
TROM_1: DB ' CO TROM '
TROM_2: DB ' CO TROM '
END
con mach day a:
em làm mạch khóa số nhưng chỉ nhập pass được lần đầu tiên, lần thứ 2 thì nhũng giá trị ở ô nhớ ban đầu em thiết lập bị thay đổi nên em nhập đúng giá trị nhưng vẫn báo sainguyendinhgiap11101905@gmail.com. mọi người giúp em đi ạ. cuối tuần sau em phải nộp bài rùi. thanks mọi người. có gì mọi người góp ý dùm e qua mail nguyendinhgiap11101905@gmail.com
code cua e day a:
;------DO AN MON HOC 1 ------------------------
; NGUOI THUC HIEN: NGUYEN DINH GIAP
; LOP: DV11
; DE TAI:
; NGAY THUC HIEN: 24-02-2014
; NGAY HOAN THANH:
;--------------- DINH NGHIA ------------
;---chan ma tran phim
H_0 EQU P3.0
H_1 EQU P3.1
H_2 EQU P3.2
H_3 EQU P3.3
C0 EQU P3.4
C1 EQU P3.5
C2 EQU P3.6
C3 EQU P3.7
;----chan lcd
E EQU P2.5
RS EQU P2.7
RW EQU P2.6
BF EQU P0.7
LCD EQU P0
UNLOCK EQU P2.3
LOCK EQU P2.4
;--------------------------------
ORG 0
;---- THIET LAP LCD --------------
MOV 41H,#2
MOV 42H,#8
MOV 43H,#0
MOV 44H,#4
MOV 45H,#9
MOV 46H,#3
MOV R6,#0
MOV R5,#3
CLR LOCK
CLR RS
CLR RW
MOV LCD,#38H
CLR E
SETB E
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#06H
CLR E
SETB E
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#00001110B
CLR E
SETB E
MAIN:
CALL CHECK_BF
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#DONG1_CHAO
CALL HIEN_THI
CALL CHECK_BF
MOV DPTR,#DONG2_CHAO
CALL DONG_2
CALL CHECK_BF
CALL HIEN_THI
CALL CHECK_BF
CALL TRE
CALL TRE
CALL TRE
CALL TRE
CALL TRE
CALL TRE
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#DONG3_CHAO
CALL HIEN_THI
CALL CHECK_BF
MOV DPTR,#DONG4_CHAO
CALL DONG_2
CALL CHECK_BF
CALL HIEN_THI
CALL CHECK_BF
;---------- CT ON-------------
CT_ON:
MOV P3,#11111110B
JB C3,$
CALL ON
CALL QUET_PHIM
TIEP:
MOV P3,#11111110B
JB C0,TIEP_1
CALL DOI_PASS
CALL QUET_PHIM
TIEP_1:
JB C1,TIEP
CALL THOAT
RET
THOAT:
SETB UNLOCK
CLR LOCK
JMP MAIN
;--------------------- QUET PHIM -----------------------------------------------------------------------------------------------------------------------------------------------
QUET_PHIM:
MOV P3,#11111110B
L1:
JB C0,L2
CALL SO_1
L2:
JB C1,L3
CALL SO_2
L3:
JB C2,L4
CALL SO_3
L4:
MOV P3,#11111101B
JB C0,L5
CALL SO_4
L5:
JB C1,L7
CALL SO_5
L7:
JB C2,L8
CALL SO_6
L8:
JB C3,L9
JMP CT_OFF
L9:
MOV P3,#11111011B
JB C0,L10
CALL SO_7
L10:
JB C1,L11
CALL SO_8
L11:
JB C2,L12
CALL SO_9
L12:
MOV P3,#11110111B
JB C1,L13
CALL SO_0
L13:
JB C3,QUET_PHIM
CALL XOA
RET
;----------------THI HANH PHIM --------------
;----------- DAP UNG BAN PHIM
SO_0:
CALL DELAY
JNB C1,$
MOV 30H,#0H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_1:
CALL DELAY
JNB C0,$
MOV 30H,#1H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_2:
CALL DELAY
JNB C1,$
MOV 30H,#2H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_3:
CALL DELAY
JNB C2,$
MOV 30H,#3H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_4:
CALL DELAY
JNB C0,$
MOV 30H,#4H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_5:
CALL DELAY
JNB C1,$
MOV 30H,#5H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_6:
CALL DELAY
JNB C2,$
MOV 30H,#6H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_7:
CALL DELAY
JNB C0,$
MOV 30H,#7H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_8:
CALL DELAY
JNB C1,$
MOV 30H,#8H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
SO_9:
CALL DELAY
JNB C2,$
MOV 30H,#9H
MOV A,#'*'
CALL XUAT
CALL CAT_MA
RET
;;;;;;-------------------------------------------------------
KT_ENTER:
MOV P3,#11111011B
JB C3,$
CALL DELAY
JNB C3,$
CALL SO_SANH
RET
XOA:
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#04H
CLR E
SETB E
SETB RS
CLR RW
MOV LCD,#' '
CLR E
SETB E
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#0C6H
CLR E
SETB E
RET
CT_OFF:
JMP MAIN
RET
;----------CHUONG TRINH CON
CAT_MA:
INC R6
MOV P1,R6
MOV A,R6
CJNE A,#1,TIEP1
MOV 31H,30H
MOV P1,31H
TIEP1:
CJNE A,#2,TIEP2
MOV 32H,30H
MOV P1,32H
TIEP2:
CJNE A,#3,TIEP3
MOV 33H,30H
MOV P1,33H
TIEP3:
CJNE A,#4,TIEP4
MOV 34H,30H
MOV P1,34H
TIEP4:
CJNE A,#5,TIEP5
MOV 35H,30H
MOV P1,35H
TIEP5:
CJNE A,#6,TIEP6
MOV 36H,30H
MOV 21H,#0
MOV P1,36H
CALL KT_ENTER
RET
TIEP6:
CALL QUET_PHIM
SO_SANH:
MOV A,31H
CJNE A,41H,WRONG
MOV A,32H
CJNE A,42H,WRONG
MOV A,33H
CJNE A,43H,WRONG
MOV A,34H
CJNE A,44H,WRONG
MOV A,35H
CJNE A,45H,WRONG
MOV A,36H
CJNE A,46H,WRONG
CLR UNLOCK
SETB LOCK
CALL DUNG_PASS
RET
DUNG_PASS:
MOV R6,#0
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#DUNG
CALL HIEN_THI
MOV DPTR,#MOI_VAO
CALL CHECK_BF
CALL DONG_2
CALL CHECK_BF
CALL HIEN_THI
CLR UNLOCK
SETB LOCK
CALL TRE
CALL TRE
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#DOI
CALL HIEN_THI
CALL CHECK_BF
CALL DONG_2
MOV DPTR,#THOAT_1
CALL CHECK_BF
CALL HIEN_THI
CALL TIEP
RET
WRONG:
MOV P1,42H
MOV A,#0
MOV R6,#0
CALL CHECK_BF
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#SAI
CALL HIEN_THI
CALL CHECK_BF
CALL DONG_2
MOV DPTR,#NHAP_LAI
CALL CHECK_BF
CALL HIEN_THI
CALL CHECK_BF
CALL CON_TRO_1
DJNZ R5,NEXT_1
CALL CHECK_BF
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#TROM_1
CALL HIEN_THI
CALL CHECK_BF
CALL DONG_2
MOV DPTR,#TROM_2
CALL CHECK_BF
CALL HIEN_THI
MOV R5,#3
LOOP3:
SETB LOCK
CALL DELAY
CLR LOCK
JMP LOOP3
RET
NEXT_1:
CALL QUET_PHIM
;-------------- HIEN THI LUA CHON
;----------------------------------------------------------
ON:
CALL DELAY
JNB C3,$
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#NHAP1
CALL HIEN_THI
CALL CHECK_BF
CALL DONG_2
MOV DPTR,#PASS1
CALL CHECK_BF
CALL HIEN_THI
CALL CON_TRO
RET
DOI_PASS:
CALL DELAY
JNB C1,$
CALL XOA_LCD
CALL CHECK_BF
CALL DONG_1
CALL CHECK_BF
MOV DPTR,#DOI1
CALL HIEN_THI
MOV DPTR,#PASS2
CALL CHECK_BF
CALL DONG_2
CALL CHECK_BF
CALL HIEN_THI
CALL CHECK_BF
CALL CON_TRO
RET
;----------------------- HIEN THI CHUOI
HIEN_THI:
MOV A,R0
MOVC A,@A+DPTR
ACALL XUAT ; Goi chuong trinh hien thi
ACALL DELAY
MOV A,#06H ; Dich con tro sang phai
CALL Delay
INC R0
CJNE R0,#16,HIEN_THI
MOV R0,#0
CALL DELAY
RET
;;;;;;;;------------------------
XUAT:
SETB RS
CLR RW
MOV LCD,A
CLR E
SETB E
CALL CHECK_BF
RET
CON_TRO:
CLR RS
CLR RW
MOV LCD,#0C6H
CLR E
SETB E
RET
CON_TRO_1:
CLR RS
CLR RW
MOV LCD,#0C9H
CLR E
SETB E
RET
CHECK_BF:
CLR RS
SETB RW
SETB BF
AGAIN:
CLR E
SETB E
JB BF,AGAIN
RET
XOA_LCD:
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#00000001B
CLR E
SETB E
CALL DONG_1
RET
DONG_1:
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#80H
CLR E
SETB E
RET
DONG_2:
CALL CHECK_BF
CLR RS
CLR RW
MOV LCD,#11000000B
CLR E
SETB E
RET
DELAY:
MOV TMOD,#01H
MOV TH0,#HIGH(-1000)
MOV TL0,#LOW(-1000)
SETB TR0
JB TF0,$
CLR TR0
CLR TF0
RET
TRE:
MOV TMOD,#01H
MOV R1,#20
LOOP2:
MOV TH0,#HIGH(-50000)
MOV TL0,#LOW(-50000)
SETB TR0
JB TF0,$
DJNZ R1,LOOP2
CLR TR0
CLR TF0
RET
DONG1_CHAO: DB ' DH GTVT TP HCM '
DONG2_CHAO: DB 'DO AN MON HOC 1 '
DONG3_CHAO: DB 'NGUYEN DINH GIAP'
DONG4_CHAO: DB 'DV11-1151040014 '
THOAT1: DB 'CAM ON BAN DA '
THOAT2: DB 'SU DUNG HE THONG'
NHAP1: DB 'MOI NHAP PASS '
DOI: DB '1. DOI PASS '
THOAT_1: DB '2. THOAT CT '
PASS1: DB 'PASS: '
DOI1: DB 'NHAP PASS CU '
PASS2: DB 'PASS: '
DUNG: DB ' PASS DUNG '
MOI_VAO: DB ' MOI VAO '
SAI: DB 'PASS SAI '
NHAP_LAI: DB 'NHAP LAI: '
TROM_1: DB ' CO TROM '
TROM_2: DB ' CO TROM '
END
con mach day a: