|
5鱼币
assume cs:codesg
;15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
; OF DF IF TF SF ZF AF PF CF
;0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0
;0 0 0 0 1 0 0 0 1 1 0 0 0 1 0 1 and
;0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0(1) 44h 45h??? 小甲鱼的答案为45H 我很不解???
;----------------------------------------------------------------------------------------------------------------------------------------
;上面是我推算出来的答案,和小甲鱼的答案就差1 还可以理解
;而下面才是让我崩溃的 我用DEBUG运行 居然得出的是下面这个结果????
;0 0 1 1 0 0 0 0 0 1 0 0 0 1 1 1 3047h????? 3047h 何解????
codesg segment
cgy:
mov ax,0
push ax ;0000000000000000
popf
mov ax,0fff0h
add ax,10h
pushf;0000100001001100
pop ax
and al,11000101b
and ah,00001000b
mov ah,4ch
int 21h
codesg ends
end cgy
|
|