From 12fa02d73d32f9421a183b5c4ccc5e4c949d1ba9 Mon Sep 17 00:00:00 2001 From: pancake Date: Fri, 12 Jul 2024 18:53:58 +0200 Subject: [PATCH] Fix glitch --- src/SUMMARY.md | 6 +++--- src/first_steps/expressions.md | 24 ++++++++++++++---------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 0b9db47b..e44b823f 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -13,10 +13,10 @@ * [Compilation on Android](install/android.md) * [Troubleshooting](install/troubleshooting.md) * [First Steps](first_steps/intro.md) - * [Commandline Flags](first_steps/commandline_flags.md) + * [Commandline](first_steps/commandline_flags.md) * [Command Syntax](first_steps/syntax.md) - * [Expressions](first_steps/expressions.md) - * [Basic Debugger Session](first_steps/basic_debugger_session.md) + * [Math Expressions](first_steps/expressions.md) + * [Debugger Session](first_steps/basic_debugger_session.md) * [Programs](tools/intro.md) * [Rax2](tools/rax2/intro.md) * [Rafind2](tools/rafind2/intro.md) diff --git a/src/first_steps/expressions.md b/src/first_steps/expressions.md index e13545dd..de2ddf10 100644 --- a/src/first_steps/expressions.md +++ b/src/first_steps/expressions.md @@ -30,16 +30,20 @@ trits 0t11112220022122120101211020120210210211201 Supported arithmetic operations are: -* + : addition -* - : subtraction -* (asterisk) : multiplication -* / : division -* % : modulus -* & : binary and -* | : binary or -* ^ : binary xor -* >> : shift right -* << : shift left +``` + + addition + - subtraction + * multiplication + / division + % modulus + & binary and + | binary or + ^ binary xor + >> shift right + << shift left +``` + +For example, using the `?vi` command we the the integer (base10) value resulting it from evaluating the given math expression ``` [0x00000000]> ?vi 1+2+3