Question

Translate the High order language program to assembly language and generate PEP9 assembly language code. #include...

Translate the High order language program to assembly language and generate PEP9 assembly language code.

#include <stdio.h>
int main()
{
    int number;
    scanf(“%d”,&number );
    if (number <0) {
        number =- number;
    }
    printf ("%d", number);
    return0;
}
0 0
Add a comment Improve this question Transcribed image text
Answer #1

I have attached the an image. I hope that's what you are asking for.

BR main .EQUATE O Assembly Language 0000 120003 number: ; 0003 580002 main: 0006 330000 0009 c30000 if : 000C 1c0016 000F C30

I hope you like my answer. So, please give it a thumb's up. And if you have any Query. You can comment down and i'll solve it for sure. But please don't rate it neagtive.

Thanks

Add a comment
Know the answer?
Add Answer to:
Translate the High order language program to assembly language and generate PEP9 assembly language code. #include...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT