Question: 5. Write a single instruction using 16-bit operands that clears the high 8 bits of AX and does not change the low 8 bits. 6.
5. Write a single instruction using 16-bit operands that clears the high 8 bits of AX and does not change the low 8 bits.
6. Write a single instruction using 16-bit operands that clears the low 8 bits of AX and does not change the high 8 bits.
7. Write a single instruction that converts an uppercase character in AL to lowercase, but does not change it if it is already lowercase. (Hint: look at the ASCII code table in binary)
8. Write a single instruction that converts an ASCII digit in AL to its corresponding binary value, but if it is already a binary value (0 to 9), doesn't change it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
