X
X
xverizex2020-07-12 09:26:59
assembler
xverizex, 2020-07-12 09:26:59

What is the difference between sar and shr?

I don't know for sure, but they seem to be identical. what do you think?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2020-07-12
@Rsa97

shr - freed bits are filled with zeros
sar - freed bits are filled with the value of the sign bit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question