COMPUTER ENGINEERING 1 If AL contains 55H and BL contains 0A

COMPUTER ENGINEERING

1) If AL contains 55H and BL contains 0AAH, what is the result of:

a) AND AL,BL

b) OR AL,BL

c)XOR BL,AL

2) Show the instructions needed to multiply AX by 25. Assume the results are unsigned.

3) What is the difference between Shift Logical, SHx, and Shift Arithmetic, SAx? Give an example.

Solution

AL: 0000 0101 0101

BL: 0000 1010 1010

a)

AND AL,BL: 0000 0000 0000= 000H =AL

b)

OR AL,BL: 0000 1111 1111=0FFH=AL

c)

XOR BL,AL: 0000 1111 1111= 0FFH=BL

COMPUTER ENGINEERING 1) If AL contains 55H and BL contains 0AAH, what is the result of: a) AND AL,BL b) OR AL,BL c)XOR BL,AL 2) Show the instructions needed to

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site