“检查DS:BX处的字节是否为正偶数,是则AL=0,否则AL=1”,可实现此功能的子程序是( )。
选项:
A:
A: func: mov al,ds:bx]and al,81hcmp al,0je s_retmov al,1s_ret: ret
B:
A: func: push cxmov cx,ds:bx]sub ch,chand cl,81hjcxz s1mov cl,1s1: mov al,cl pop cx ret
C:
A: func: mov al,ds:bx]shr al,1jb s1 mov al,0s1: ret
D:
A: func: mov al,ds:bx]and al,1cmp al,0je s1inc als1: ret
发布时间:2024-05-08 15:37:46