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

i have some congifusion in assembly language

please tell how we write that thing in assembley language

if(a==0 && b==1)
{ mov p1,#022h
} else
if(a==1 && b==2)
{ mov p1,#011h
} else
{ mov p1,#033
} end

Parents
  • Wouldn't it be practical if you can just hand in your school assignement without own time spent?

    What work have _you_ done to figure out what instructions the processor has for performing comparisons, and for performing conditional jumps? Any open questions, or why not try these instructions and see what happens?

Reply
  • Wouldn't it be practical if you can just hand in your school assignement without own time spent?

    What work have _you_ done to figure out what instructions the processor has for performing comparisons, and for performing conditional jumps? Any open questions, or why not try these instructions and see what happens?

Children
No data