Font size
Worksheets221 quiz 06 - AND/OR/NOT/XOR
Total questions: 8
Worksheet time: 8mins
; In the following instruction
; show the resulting value of AL
; in binary (show all 8 bits and the b e.g. 01110111b):
mov al, 01101111b
and al, 00101101b
(a)
; In the following instruction
; show the resulting value of AL
; in binary (show all 8 bits and the b e.g. 01110111b):
mov al, 6Dh
and al, 4Ah
(a)
; In the following instruction
; show the resulting value of AL
; in binary (show all 8 bits and the b e.g. 01110111b):
mov al, 00001111b
or al, 61h
(a)
; In the following instruction
; show the resulting value of AL
; in binary (show all 8 bits and the b e.g. 01110111b):
mov al, 94h
xor al, 37h
(a)
; In the following instruction
; show the resulting value of AL
; in HEX (show both digits and the 'h' e.g. 0Ah)
mov al,7Ah
not al
(a)
; In the following instruction
; show the resulting value of AL
; in HEX (show both digits and the 'h' e.g. 0Ah)
mov al,3Dh
and al,74h
(a)
; In the following instruction
; show the resulting value of AL
; in HEX (show both digits and the 'h' e.g. 0Ah)
mov al,9Bh
or al,35h
(a)
; In the following instruction
; show the resulting value of AL
; in HEX (show both digits and the 'h' e.g. 0Ah)
mov al,72h
xor al,0DCh
(a)
