Question: Write a procedure, BitComplement, which will complement each bit in the contents of the ax register. For example, after the following code fragment is executed:

Write a procedure, BitComplement, which will complement each bit in the contents of the ax register. For example, after the following code fragment is executed: mov ax, 0011010111000001B; 0011010111000001 B call BitComplement then the contents of the ax register will be 1100101000111110B (1100 101000111110B)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
