Decision Structure in Assembly

Asked

Viewed 182 times

0

I’m programming in Assembly and here comes a mistake.

To summarize, I have to make a framework to check two real values and so go for the rest of the program. Well, that was the idea. To illustrate it better, I’ll leave one print with you:

inserir a descrição da imagem aqui

In short, if it is with integer value, the real value does not. If anyone can help me I thank you.

If you can’t see the image, the lines of code are:

bgt $f3, $f4, vericacao1
bgt $f4, $f3, vericacao2

And the error code:

An ocurred while loading the file. The message are: Spim (parser) syntax error on line 48 of file (C: User Vinícius Novelli Desktop Work. s bgt $F3, $F4, vericacao1

  • 3

    Puts the code and error as text. You cannot see the image.

  • 1

    "In short, if it is with integer value, the real doesn’t. If anyone can help me I appreciate it." Clarify. If it is with integer what? Works? Doesn’t work?

  • That is, if it is with integers it works.

  • 2

    What platform are you programming for? 8051? ARM? Context helps answer the question.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.