makemelearn
New Member
Hello guys. I'm new in learning microcontroller. I just got an assignment which i have made all the draft of. But I cannot build the code its again and again showing building failed. I'm attached the code and errors kindly help me urgently. It's due on friday. Thankyou so much.
;pic16f877a
list p=16F877A
#include <p16F877A.inc>
------------------------------------
;declaring variables
STATUS0 equ 09h
STATUS1 equ 29h
STATUS2 equ 39h
STATUS3 equ 49h
PORTA equ 63h
TRISA equ 93h
PORTB equ 68h
TRISB equ 52h
c1 equ 19h
c2 equ 69h
c3 equ 37h
-------------------------------------
; Initializing subroutines
; subrotine to change banks
bank0 BCF STATUS0,2 ;PORTA
BCF STATUS0,3
bank1 BCF STATUS1,2 ;TRISA
BSF STATUS1,3
bank2 BSF STATUS2,2 ;TRISB
BCF STATUS2,3
bank3 BSF STATUS3,2 ;PORTB
BSF STATUS3,3
-------------------------------------
; defining inputs and outputs
call bank1 ; calling bank in which TRISA is present
BSF TRISA ; setting inputs on all pins of TRISA
call bank2 ; calling bank in which TRISB is present
BSF TRISB,0 ; setting input on pin0 of TRISB
BCF TRISB,2 ; setting output on pin2 of TRISB
BCF TRISB,5 ; setting output on pin5 of TRISB
--------------------------------------
; subroutine to call Alarm
Alarm call bank3
BSF PORTB,2
call delay_2sec
goto MAIN
-------------------------------------
; subroutine to call motor
motor call bank3
BSF PORTB,5
call delay_3sec
-------------------------------------
; subroutine for 2 seconds delay
delay_2sec MOVLW d'80' ; adding value of 80 in decimals to the working register
MOVWF c3 ; adding the stored value into Wreg
loop3 MOVLW d'200'
MOVWF c2
loop2 MOVLW d'250'
MOVWF c1
loop nop
nop
decfsz c1,1
goto loop
decfsz c2,1
goto loop2
decfsz c3,1
goto loop3
return
-------------------------------------
; subroutine for 3 second delay
delay_3sec MOVLW d'120'
MOVWF c3
loop3 MOVLW d'200'
MOVWF c2
loop2 MOVLW d'250'
MOVWF c1
loop nop
nop
decfsz c1,1
goto loop
decfsz c2,1
goto loop2
decfsz c3,1
goto loop3
return
-------------------------------------------
; subroutine for entering password for user
enter_password call bank3 ; call bank in which PORTB is present
BTFSS PORTB,0 ; check if B0 is set, if skip next instruction
call alarm ; perform this instruction if B0 is not set
BTFSS PORTB,0 ; check if B0 is set, if yes then skip next instruction
call alarm ; call alarm if B0 is not set
call bank0 ; call bank in which PORTA is present
BTFSS PORTA,1 ; check 3rd digit
call alarm ; call alarm if digit not correct
BTFSS PORTA,4 ; check fourth ddigit
call alarm ; call alarm if digit not correct
BTFSS PORTA,4 ; check fifth digit
call alarm ; call alarm if digit is not correct
BTFSS PORTA,5 ; check sixth digit
call alarm ; call alarm if digit not correct
BTFSS PORTA,5 ; check seventh digit
call alarm ; call alarm if digit not correct
BTFSS PORTA,6 ; check eight digit
call alarm ; call alarm if digit not correct
BTFSS PORTA,0 ; check ninth digit
call alarm ; call alarm if digit not correct
BTFSS PORTA,2 ; check tenth digit
call alarm ;call alarm if digit not correct
goto MAIN
--------------------------------
; MAIN functions to be performed in the program
MAINcall enter_password ; call the subroutine and check the password
call motor ; if password correct on motor
goto enter password ; user able to enter password again
goto MAIN ; endless loop
END ; end of programme
Errors that im getting
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 4 : Missing symbol
Error[115] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 12 : Duplicate label ("PORTA" or redefining symbol that cannot be redefined)
Error[115] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 13 : Duplicate label ("TRISA" or redefining symbol that cannot be redefined)
Error[115] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 14 : Duplicate label ("PORTB" or redefining symbol that cannot be redefined)
Error[115] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 15 : Duplicate label ("TRISB" or redefining symbol that cannot be redefined)
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 20 : Missing symbol
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 25 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 25 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 26 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 28 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 28 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 29 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 31 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 31 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 32 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 34 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 34 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 35 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 36 : Missing symbol
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 39 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 39 : Executable code and data must be defined in an appropriate section
Message[302] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 40 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[128] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 40 : Missing argument(s)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 40 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 42 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 42 : Executable code and data must be defined in an appropriate section
Message[302] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 43 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 43 : Executable code and data must be defined in an appropriate section
Message[302] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 44 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 44 : Executable code and data must be defined in an appropriate section
Message[302] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 45 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 45 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 47 : Missing symbol
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 50 : Labels must be defined in a code or data section when making an object file
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 50 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 50 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 51 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 52 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 52 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 53 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 53 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 55 : Missing symbol
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 58 : Labels must be defined in a code or data section when making an object file
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 58 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 58 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 59 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 60 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 60 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 62 : Missing symbol
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 65 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 65 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 66 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 68 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 68 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 69 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 71 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 71 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 72 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 74 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 74 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 75 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 76 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 77 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 77 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 79 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 80 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 80 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 82 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 83 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 83 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 85 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 86 : Missing symbol
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 89 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 89 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 90 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 92 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 92 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 93 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 95 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 95 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 96 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 98 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 98 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 99 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 100 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 101 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 101 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 103 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 104 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 104 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 106 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 107 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 107 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 109 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 110 : Missing symbol
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 113 : Labels must be defined in a code or data section when making an object file
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 113 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 113 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 114 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 115 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 115 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 116 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 117 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 117 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 119 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 119 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 120 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 121 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 121 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 122 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 123 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 123 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 124 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 125 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 125 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 126 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 127 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 127 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 128 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 129 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 129 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 130 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 131 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 131 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 132 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 133 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 133 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 134 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 135 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 135 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 136 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 136 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 137 : Missing symbol
Warning[207] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 139 : Found label after column 1. (MAIN)
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 139 : Labels must be defined in a code or data section when making an object file
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 139 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 139 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 140 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 140 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 141 : Symbol not previously defined (enter)
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 141 : Symbol not previously defined (password)
Error[112] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 141 : Missing operator
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 141 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 142 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 142 : Executable code and data must be defined in an appropriate section
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `C:\Users\HP\Desktop\pasword_lock\password_lock.mcp' failed.
Language tool versions: MPASMWIN.exe v5.50, mplink.exe v4.48, mplib.exe v4.48
Preprocessor symbol `__DEBUG' is defined.
Wed Mar 23 21:20:14 2022
----------------------------------------------------------------------
BUILD FAILED
;pic16f877a
list p=16F877A
#include <p16F877A.inc>
------------------------------------
;declaring variables
STATUS0 equ 09h
STATUS1 equ 29h
STATUS2 equ 39h
STATUS3 equ 49h
PORTA equ 63h
TRISA equ 93h
PORTB equ 68h
TRISB equ 52h
c1 equ 19h
c2 equ 69h
c3 equ 37h
-------------------------------------
; Initializing subroutines
; subrotine to change banks
bank0 BCF STATUS0,2 ;PORTA
BCF STATUS0,3
bank1 BCF STATUS1,2 ;TRISA
BSF STATUS1,3
bank2 BSF STATUS2,2 ;TRISB
BCF STATUS2,3
bank3 BSF STATUS3,2 ;PORTB
BSF STATUS3,3
-------------------------------------
; defining inputs and outputs
call bank1 ; calling bank in which TRISA is present
BSF TRISA ; setting inputs on all pins of TRISA
call bank2 ; calling bank in which TRISB is present
BSF TRISB,0 ; setting input on pin0 of TRISB
BCF TRISB,2 ; setting output on pin2 of TRISB
BCF TRISB,5 ; setting output on pin5 of TRISB
--------------------------------------
; subroutine to call Alarm
Alarm call bank3
BSF PORTB,2
call delay_2sec
goto MAIN
-------------------------------------
; subroutine to call motor
motor call bank3
BSF PORTB,5
call delay_3sec
-------------------------------------
; subroutine for 2 seconds delay
delay_2sec MOVLW d'80' ; adding value of 80 in decimals to the working register
MOVWF c3 ; adding the stored value into Wreg
loop3 MOVLW d'200'
MOVWF c2
loop2 MOVLW d'250'
MOVWF c1
loop nop
nop
decfsz c1,1
goto loop
decfsz c2,1
goto loop2
decfsz c3,1
goto loop3
return
-------------------------------------
; subroutine for 3 second delay
delay_3sec MOVLW d'120'
MOVWF c3
loop3 MOVLW d'200'
MOVWF c2
loop2 MOVLW d'250'
MOVWF c1
loop nop
nop
decfsz c1,1
goto loop
decfsz c2,1
goto loop2
decfsz c3,1
goto loop3
return
-------------------------------------------
; subroutine for entering password for user
enter_password call bank3 ; call bank in which PORTB is present
BTFSS PORTB,0 ; check if B0 is set, if skip next instruction
call alarm ; perform this instruction if B0 is not set
BTFSS PORTB,0 ; check if B0 is set, if yes then skip next instruction
call alarm ; call alarm if B0 is not set
call bank0 ; call bank in which PORTA is present
BTFSS PORTA,1 ; check 3rd digit
call alarm ; call alarm if digit not correct
BTFSS PORTA,4 ; check fourth ddigit
call alarm ; call alarm if digit not correct
BTFSS PORTA,4 ; check fifth digit
call alarm ; call alarm if digit is not correct
BTFSS PORTA,5 ; check sixth digit
call alarm ; call alarm if digit not correct
BTFSS PORTA,5 ; check seventh digit
call alarm ; call alarm if digit not correct
BTFSS PORTA,6 ; check eight digit
call alarm ; call alarm if digit not correct
BTFSS PORTA,0 ; check ninth digit
call alarm ; call alarm if digit not correct
BTFSS PORTA,2 ; check tenth digit
call alarm ;call alarm if digit not correct
goto MAIN
--------------------------------
; MAIN functions to be performed in the program
MAINcall enter_password ; call the subroutine and check the password
call motor ; if password correct on motor
goto enter password ; user able to enter password again
goto MAIN ; endless loop
END ; end of programme
Errors that im getting
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 4 : Missing symbol
Error[115] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 12 : Duplicate label ("PORTA" or redefining symbol that cannot be redefined)
Error[115] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 13 : Duplicate label ("TRISA" or redefining symbol that cannot be redefined)
Error[115] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 14 : Duplicate label ("PORTB" or redefining symbol that cannot be redefined)
Error[115] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 15 : Duplicate label ("TRISB" or redefining symbol that cannot be redefined)
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 20 : Missing symbol
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 25 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 25 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 26 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 28 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 28 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 29 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 31 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 31 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 32 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 34 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 34 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 35 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 36 : Missing symbol
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 39 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 39 : Executable code and data must be defined in an appropriate section
Message[302] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 40 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[128] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 40 : Missing argument(s)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 40 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 42 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 42 : Executable code and data must be defined in an appropriate section
Message[302] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 43 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 43 : Executable code and data must be defined in an appropriate section
Message[302] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 44 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 44 : Executable code and data must be defined in an appropriate section
Message[302] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 45 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 45 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 47 : Missing symbol
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 50 : Labels must be defined in a code or data section when making an object file
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 50 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 50 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 51 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 52 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 52 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 53 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 53 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 55 : Missing symbol
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 58 : Labels must be defined in a code or data section when making an object file
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 58 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 58 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 59 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 60 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 60 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 62 : Missing symbol
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 65 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 65 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 66 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 68 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 68 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 69 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 71 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 71 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 72 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 74 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 74 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 75 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 76 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 77 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 77 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 79 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 80 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 80 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 82 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 83 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 83 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 85 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 86 : Missing symbol
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 89 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 89 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 90 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 92 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 92 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 93 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 95 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 95 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 96 : Executable code and data must be defined in an appropriate section
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 98 : Labels must be defined in a code or data section when making an object file
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 98 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 99 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 100 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 101 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 101 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 103 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 104 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 104 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 106 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 107 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 107 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 109 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 110 : Missing symbol
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 113 : Labels must be defined in a code or data section when making an object file
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 113 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 113 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 114 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 115 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 115 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 116 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 117 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 117 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 119 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 119 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 120 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 121 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 121 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 122 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 123 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 123 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 124 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 125 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 125 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 126 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 127 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 127 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 128 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 129 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 129 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 130 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 131 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 131 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 132 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 133 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 133 : Executable code and data must be defined in an appropriate section
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 134 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 135 : Symbol not previously defined (alarm)
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 135 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 136 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 136 : Executable code and data must be defined in an appropriate section
Error[111] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 137 : Missing symbol
Warning[207] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 139 : Found label after column 1. (MAIN)
Error[150] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 139 : Labels must be defined in a code or data section when making an object file
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 139 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 139 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 140 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 140 : Executable code and data must be defined in an appropriate section
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 141 : Symbol not previously defined (enter)
Error[113] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 141 : Symbol not previously defined (password)
Error[112] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 141 : Missing operator
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 141 : Executable code and data must be defined in an appropriate section
Error[151] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 142 : Operand contains unresolvable labels or is too complex
Error[152] C:\USERS\HP\DESKTOP\PASWORD_LOCK\ASSIGNMENT1.ASM 142 : Executable code and data must be defined in an appropriate section
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `C:\Users\HP\Desktop\pasword_lock\password_lock.mcp' failed.
Language tool versions: MPASMWIN.exe v5.50, mplink.exe v4.48, mplib.exe v4.48
Preprocessor symbol `__DEBUG' is defined.
Wed Mar 23 21:20:14 2022
----------------------------------------------------------------------
BUILD FAILED