Search found 57 matches

by rhyde
Fri Sep 19, 2025 5:32 pm
Forum: The Book of I2C
Topic: I2C is Part of a Humble Bundle
Replies: 0
Views: 37

I2C is Part of a Humble Bundle

For the next couple of weeks, The Book of I2C is part of a Humble Bundle. Save $$$!
https://www.humblebundle.com/books/electronics-for-the-curious-no-starch-books?hmb_source=&hmb_medium=product_tile&hmb_campaign=mosaic_section_1_layout_index_1_layout_type_threes_tile_index_3_c ...
by rhyde
Sat Mar 15, 2025 6:24 pm
Forum: Art of ARM Assembly
Topic: Problem with Listing 5-15 (Listing 5-5-userStack)
Replies: 0
Views: 117901

Problem with Listing 5-15 (Listing 5-5-userStack)

Here's a quick correction to Listing5-14 (which appears as Listing5-5-UserStack in the on-line files).
The declaration of the user stack was:


.align 4
smallStk: .fill 256, .-.
endSmallStk:


It really needs to be:

.align 4
smallStk: .space 256, .-. // .fill 256, 1, 0 also works
endSmallStk ...
by rhyde
Mon Mar 03, 2025 11:14 pm
Forum: Blog
Topic: Humble Bundle 2025
Replies: 0
Views: 77427

Humble Bundle 2025

It's that time of the year again!
No Starch Press is offering some great deals on some great books.
Check out the "Computer Science the Fun Way" Humble Bundle.
Running for three weeks, starting March 3, 2025
https://www.humblebundle.com/books/comp ... arch-books
by rhyde
Tue Feb 25, 2025 10:13 pm
Forum: Art of ARM Assembly
Topic: Art Of ARM support files
Replies: 0
Views: 57600

Art Of ARM support files

Support files for "The Art of ARM Assembly" are now available at:
https://github.com/randyhyde/artofarm
by rhyde
Mon Jan 27, 2025 11:04 pm
Forum: Art of 64-Bit Assembly
Topic: What happens with rxc and edx registers during procedure execution? (listing2-2)
Replies: 1
Views: 26408

Re: What happens with rxc and edx registers during procedure execution? (listing2-2)

printf uses the Intel/Windows ABI, where register RCX and RDX (among many others) are volatile and can be overwritten by the code being called. That's why you had to reload these registers -- printf is overwriting their values (true for R8 and R9, too).
by rhyde
Mon Jan 27, 2025 11:00 pm
Forum: ARM Assembly Language
Topic: Mobile ARM assembly apps
Replies: 0
Views: 81466

Mobile ARM assembly apps

Here's a useful link (in case you've missed it), to some code and documentation by Tony Tribelli.
https://github.com/atribelli/asmmobile
by rhyde
Sat Oct 12, 2024 4:17 am
Forum: Art of ARM Assembly
Topic: Art Of ARM Assembly, editing complete
Replies: 0
Views: 59206

Art Of ARM Assembly, editing complete

Hi all,
I finally did the last pass on the Art of ARM Assembly (10/8/2024). Expect publication (in freeware form) in January 2025.
In the meantime, you can preorder the book and the the electronic preview from No Starch Press (https://nostarch.com/art-arm-assembly-volume-1)
You can also download ...
by rhyde
Wed Sep 04, 2024 9:26 pm
Forum: Blog
Topic: Barnes & Noble Art of ARM Assembly Promo
Replies: 0
Views: 20425

Barnes & Noble Art of ARM Assembly Promo

Barnes & Noble is currently running another sale for 25% off pre-order titles - including Art of ARM Assembly - this week, starting today (runs Sept. 4-6).

Here's the product page on their site:

https://www.barnesandnoble.com/w/the-art-of-arm-assembly-randall-hyde/1143843472?ean=9781718502826 ...
by rhyde
Tue May 14, 2024 4:29 pm
Forum: ARM Assembly Language
Topic: 32-bit double-precision float-to-string
Replies: 0
Views: 19441

32-bit double-precision float-to-string

Here is a sample program (from "The Art of ARM Assembly, Volume 2") that converts a 64-bit double-precision floating-point value to a string. This code was created and tested on a Pi 400 using a 32-bit version of PiOS. It easily ports to Cortex-M7F CPUs (e.g., the Teensy 4.x) and other 32-bit based ...
by rhyde
Tue May 14, 2024 4:24 pm
Forum: Art of 64-Bit Assembly
Topic: Double-precision to string
Replies: 0
Views: 19356

Double-precision to string

Recently I've been working on sample programs for "The Art of ARM Assembly, Volume 2." When working on the numeric conversion examples, I chose not to simply copy the algorithms I used in "The Art of 64-bit Assembly" and "The Art of ARM Assembly, Volume 1." Instead, I experimented with some new ...