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

using labels

I am a computer engineering student using Microvison2. I am trying to create a small program that uses an sjmp loop comand but I don't know how to make labels in the software. Any help would be greatly appreciated.

Parents
  • I am not trying to embed it in a C program. What you saw was pretty much all my code. My teacher wants us to write a program in-line (he didn't show us any other way) That is why I am having so much trouble. I know of another assembly program. He said he wants the listing file and the hex file. I know of a unix compiler that I can use. I need to play with microvision some more and hopefully figure out how to bypass the in-line compiler. By the way

    loop:

    as a command is not valid.

    I would really like to thank you for all the help you guys have provided me.

Reply
  • I am not trying to embed it in a C program. What you saw was pretty much all my code. My teacher wants us to write a program in-line (he didn't show us any other way) That is why I am having so much trouble. I know of another assembly program. He said he wants the listing file and the hex file. I know of a unix compiler that I can use. I need to play with microvision some more and hopefully figure out how to bypass the in-line compiler. By the way

    loop:

    as a command is not valid.

    I would really like to thank you for all the help you guys have provided me.

Children