Very glad to see Vietnamese language here ^^
But f117e should use English in this forum.
I would like to translate his message:
"I have just learned about the PIC18Fxx2. So that, I have no much experience in ASM programming. Please help me this code, I need the good result at once"
"Write the ASM code for this program
i = 1
j = 0
k = -1
while (i > j) {
i = i + a – 2 * j;
if (j >= k) {
i = i + 2;
k = k – b + 2 * j;
}
j++;
}
with a = 0x08, b = 0x0f. find out the last value of i,j,k and a,b that sastify a>b, a<b, a=b respectively.
Thank you = Xin cam on
meishun: My English is not good = Tieng Anh cua toi khong gioi.