Search found 56 matches

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: 16

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: 182

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: 421

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: 4792

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: 4152

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: 1832

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: 4446

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: 2302

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: 2295

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 ...
by rhyde
Fri Apr 19, 2024 7:26 pm
Forum: Blog
Topic: Art of ARM Assembly, Preorder
Replies: 1
Views: 2762

Re: Art of ARM Assembly, Preorder

25% Off Pre-orders for Barnes & Noble Members
Premium Members Get an Additional 10% Off their Preorders

It’s that time again! We are offering Barnes & Noble Premium & Rewards Members 25% off all pre-orders from April 17 through 19, including audiobooks and eBooks! Premium Members get an additional ...