From 2148f0665a0ac7242931d468cbbe28d98d4d0a7e Mon Sep 17 00:00:00 2001 From: A4-Tacks Date: Sun, 29 Sep 2024 00:21:46 +0800 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8e2c7d4..ae74907 100644 --- a/README.md +++ b/README.md @@ -21,12 +21,12 @@ Unless otherwise specified, return the value before the memory operation | add | `m += n` | | sub | `m -= n` | | mul | `m *= n` | -| abs | `m = abs(o)` | +| abs | `m = abs(m)` | | max | `m = max(m, n)` | | min | `m = min(m, n)` | | and | `m &= n` | | nand | `m = ~(m & n)` | -| or | `m `|= n | +| or | `m \|= n` | | xor | `m ^= n` | | shl | `m <<= n` | | shr | `m >>= n` | @@ -34,7 +34,7 @@ Unless otherwise specified, return the value before the memory operation | stor | `m = n` | | swpi | `m, mem[n] = mem[n], m` | | swap | `m, n[i] = n[i], m` | -| lock | `rwlock(m, n, i)` | +| lock | `rwlock(m, n, i)`\* | Complex Commands