From 88dd5a02f80768b2355d4e63f6ec060e66c92319 Mon Sep 17 00:00:00 2001 From: Jason Bowen Date: Sun, 7 Jul 2019 22:12:03 -0500 Subject: [PATCH] Fix typo in sar example snippet. In the second code snippet of the answer 'shr rax, 4' was written, when it should be 'sar rax, 4'. --- questions/answers/015.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/questions/answers/015.md b/questions/answers/015.md index f2d79da..ff0186d 100644 --- a/questions/answers/015.md +++ b/questions/answers/015.md @@ -31,7 +31,7 @@ For example: ```asm mov rax, 0xFB00000000000000 -shr rax, 4 ; rax = 0xFFB0000000000000 +sar rax, 4 ; rax = 0xFFB0000000000000 ``` The `FB` part was shifted to the right. However, the sign bit was equal to