Discussion in "Project Doubts" started by    gigyani    Apr 18, 2019.
Thu Apr 18 2019, 07:31 am
#1
STATREAD:

MOV A, #WTCMD ;LOAD WRITE COMMAND
CALL OUTS
MOV A, #00H
CALL OUT
CALL CREAD
MOV A, R1
MOV STATUS, A
RET

why MOV A , #WTCMD, give me the error A45 enerywhere in the code?
Thu Apr 18 2019, 10:28 pm
#2
Please zip your full code and post it.
Which assembler are you using ?
 gigyani like this.
Fri Apr 19 2019, 03:39 am
#3
I'm using keil uvision5.
attached is the rar file of the code.
Fri Apr 19 2019, 11:05 pm
#4
The full error is
control_unit.asm(1294): error A45: UNDEFINED SYMBOL (PASS-2)
UNDEFINED SYMBOL means the assembler does not know what WTCMD means.

Somewhere there should be a file containing definitions of things like WTCMD.
Where did you get this code ?




Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am
ArnoldDiant
Fri Apr 26 2024, 03:53 am