a multi-component truth table for assembly

Posted by Malfist on Stack Overflow See other posts from Stack Overflow or by Malfist
Published on 2010-04-27T00:34:00Z Indexed on 2010/04/27 0:53 UTC
Read the original article Hit count: 240

Filed under:
|

Can someone help me convert this C if statement into something assembly can understand?

if((plain>='a' && plain<='x') || (plain>='A' && plain <='X')){
    code = plain+2;
}

plain is a char, which for assembly is stored in the al register.

Any help would be appreciated.

© Stack Overflow or respective owner

Related posts about assembly

Related posts about c