This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

help

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

Parents
  • i know the cpu

    I think you need to re-evaluate that statement.

    but i get a lot of errors .can you tell me why?

    Because most of your code is not 8051 assembly.

    You need to go back to reading about the 8051 architecture and the assembler.

Reply
  • i know the cpu

    I think you need to re-evaluate that statement.

    but i get a lot of errors .can you tell me why?

    Because most of your code is not 8051 assembly.

    You need to go back to reading about the 8051 architecture and the assembler.

Children