From 7e14676a45c91fed6b8a7020bccf99b807301069 Mon Sep 17 00:00:00 2001 From: Jason <154414066+bou-samra@users.noreply.github.com> Date: Mon, 8 Dec 2025 20:55:09 +1100 Subject: [PATCH] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a8a94af..2f59081 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,10 @@ arm-none-eabi-objcopy -O binary main.elf main.bin xxd -e main.bin Sample output: -00000000: 20420047 +00000000: 00004770 -20420047 represents `movs r0, #42` and `bx lr`. +- `00004770` = Thumb instruction `BX LR`. +- Execution returns immediately to the caller, with no register values modified. --- @@ -102,12 +103,12 @@ Sample output: Example: CSUB myfunc -00000000 20420047 +00000000 00004770 END CSUB myfunc() -PRINT "Returned value in R0 was 42" +PRINT "Returned successfully" ---