04 Task Performance 1 - Arithmetic and Logic Instructions
04 Task Performance 1 - Arithmetic and Logic Instructions
Task Performance
Arithmetic and Logic Instructions
Objective(s):
2. MOV AX, 614Bh What would be the value of AX after program execution? _ 719Bh _
MOV BX, 1251h
OR AX, BX
RET
3. MOV AX, 614Bh What would be the value of BX after program execution? _ 731Ah _
MOV BX, 1251h
XOR BX, AX
RET
4. MOV DX, 614Bh What would be the value of DX after program execution? _ 9EB4h _
NOT DX
RET
5. MOV AX, 614Bh What would be the value of AX after program execution? _ 9D5Ah _
MOV BX, 1251h
AND AX, BX
NOT BX
XOR AX, BX
RET
2. MOV AX, AAAAh In hexadecimal format, what would be the value of AX after program
MOV CL, 8 execution? 0000h
SHL AX, CL
RET
3. MOV AL, 8Ch What would be the value of AL, in binary form, after program execution?
MOV CL, 3 1110b _
SAR AL, CL
RET
4. MOV AL, 6Bh In hexadecimal format, what would be the value of AL after program
ROR AL, 1 execution? 1A0Bh
ROL AL, 3
RET
5. MOV AX, 6Bh What would be the value of AL, in binary form, after program execution?
RCR AL 3 1101b _
RET