From 2a945cd90616f58cbe68de8b64484c81eacecdd2 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 27 Jul 2024 20:42:51 -0400 Subject: Fix example with AND instruction Signed-off-by: Ian Moffett --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9383f6d..2d41844 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Bitwise logic operations can write to all registers except `v0`-`v7`, `x0` and ` /* Set x1 to 5 */ mov x1, #5 /* Ands x1 (which equals 5) with 1 */ -and x1, #1 +and x1, x1, #1 /* x1 now equals 1 */ ``` -- cgit v1.2.3