hi foremers :)
i know the cpu and i must write a program for the 80C51
but i get a lot of errors .can you tell me why?
here is she code
.SRC
MOV A, $23 : get the value 23 MOV B, $14 : get another value 14 MOV C, $32 : and the last value MOI X, BC : what does this do?????????? LRET : return
.END
i know the cpu
I think you need to re-evaluate that statement.
Because most of your code is not 8051 assembly.
You need to go back to reading about the 8051 architecture and the assembler.
I hate to correct you, but as far as I can see Because all your code is not 8051 assembly.
Erik
View all questions in Keil forum