consider the following pseudo code and write the corresponding assembly code for it. 
Note: There is more credit for a shorter code.

If (al > C1) AND (b1 > a1)
{
dx=1
}

i can`t understand this code....
anyone solve this problem????

Recommended Answers

All 3 Replies

i can`t understand this code....

It stores the number 1 in the variable dx if the number stored in the variable a1 is greater than that in the variable c1 and the value stored in b1 is larger than that in a1.

sepp2k: plz write the code in assembly language....

We aren't going to do your homework for you. Try doing it yourself, post what you've written, and we'll be happy to point you in the right direction or answer specific questions.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.