This preview shows page 1. Sign up to view the full content.
Unformatted text preview: a) MOV SI, [BX+200h] b) MOV BL, AL c) MOV [BP], 1500h (tricky!) d) MOV CL, [BX+DI] 3. Observe the shift right command SHR AL, 1 which shifts the AL register right by one bit. The MSB is filled with a zero while the shifted bit goes into the carry flag. Write a small code segment using move, add, jump, loop and shift commands that will count the number of 1s in the register AL....
View Full Document
- Fall '08