3 error in m-16 code

Software questions and issues with the FV-1

Moderator: frank

Post Reply
aparat

3 error in m-16 code

Post by aparat »

hi
in m-16 code There are 3 errors
I compiled with Kiel 5 software And for the codes below the error is indicated
mov t2con,#04H
mov rcap2h,#0ffH
mov rcap2l,#0d2h
please help me.thanks
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post by frank »

Exactly what is the error?
Frank Thomson
Experimental Noize
aparat

Post by aparat »

FV1_V1.asm(144): error A45: UNDEFINED SYMBOL (PASS-2)
FV1_V1.asm(145): error A45: UNDEFINED SYMBOL (PASS-2)
FV1_V1.asm(147): error A45: UNDEFINED SYMBOL (PASS-2)
help me thanks
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post by frank »

Are you sure you are assembling for and using the correct 8052 variant? Those registers are used for timer 2.
Frank Thomson
Experimental Noize
aparat

Post by aparat »

What is compiler name?
is it keil?
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post by frank »

It does not matter which assembler as long as it supports the proper 8052 variant. Check that you are assembling for the correct chip.
Frank Thomson
Experimental Noize
aparat

Post by aparat »

My chip is at89s52.
Is it correct?or i shoud adjust other chip?
Then can i speak with you into telegram?
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post by frank »

You need to check that your chip supports timer 2 and the associated registers and if it does then as the maker of the assembler why it is throwing errors. We can only help with the FV-1 its self.
Frank Thomson
Experimental Noize
Post Reply