Skip to content

The Eclectic Light Company

Macs, painting, and more
Main navigation
  • Downloads
  • M1 & M2 Macs
  • Mac Problems
  • Mac articles
  • Art
  • Macs
  • Painting

ARM

Code in ARM Assembly: Bit operations

T T Read More

An overview of bit operations, including MOVK for 16-bit immediate values, bit shift operations, bitwise AND, OR, XOR, and more, plus a cheat sheet.

July 16, 2021 Macs, Technology

Code in ARM Assembly: Integer arithmetic

Basic integer arithmetic – add, subtract, negate, multiply, multiply-and-add, and divide – in their many variations. With some catches for those more used to high-level languages.

July 13, 2021 Macs, Technology

Code in ARM Assembly: Moving data around

Explaining the LDR family of instructions for loading registers, MOV for moving one register to another, STR for storing to memory, and SXTx/UXTx for filling a register with smaller data types.

July 8, 2021 Macs, Technology

Code in ARM Assembly: Flow, pipelines and performance

T T Read More

How conditional branching can slow modern processors down badly, comparing assembly code with that generated by Apple’s Swift compiler, and some puzzles.

July 6, 2021 Macs, Technology

Code in ARM Assembly: Conditional loops

T T Read More

How to implement conditional looping such as for and while, and how to break out of a loop. Complete with chart of four conditional idioms.

June 29, 2021 Macs, Technology

Code in ARM Assembly: Controlling flow

T T Read More

Forget about structured code, branching in assembly is based on GOTO with labels. Here’s how to get started, with an idiom for the switch statement in Swift.

June 23, 2021 Macs, Technology

Code in ARM Assembly: Working with pointers

T T Read More

Using different addressing modes and offset specifications to load and store in memory. Includes a summary of ARM64 Operand Architecture.

June 21, 2021 Macs, Technology

Code in ARM Assembly: Registers explained

Types of register explained, and which are available to pass arguments of different types. Call by value and call by reference distinguished.

June 16, 2021 Macs, Technology

Code in Assembly for Apple Silicon with the AsmAttic app

T T Read More

First in a series helping you write ARM64 assembly language for M1 Macs. Provides an app within which you can call assembly routines.

June 7, 2021 Macs, Technology

Can you trust floating-point arithmetic on Apple Silicon?

M1 Macs may be as fast as greased lightning, but how good is their numerical accuracy? Can it match that of Intel processors?

April 22, 2021 Macs, Technology

Posts navigation

Previous 1 2 3 4 Next
Blog at WordPress.com.
Footer navigation
  • About & Contact
  • Macs
  • Painting
  • Language
  • Tech
  • Life
  • General
  • Downloads
  • Mac problem-solving
  • Extended attributes (xattrs)
  • Painting topics
  • Hieronymus Bosch
  • English language
  • LockRattler: 10.12 Sierra
  • LockRattler: 10.13 High Sierra
  • LockRattler: 10.11 El Capitan
  • Updates: El Capitan
  • Updates: Sierra, High Sierra, Mojave, Catalina, Big Sur
  • LockRattler: 10.14 Mojave
  • SilentKnight, silnite, LockRattler, SystHist & Scrub
  • DelightEd & Podofyllin
  • xattred, Metamer, Sandstrip & xattr tools
  • 32-bitCheck & ArchiChect
  • T2M2, Ulbow, Consolation and log utilities
  • Cirrus & Bailiff
  • Taccy, Signet, Precize, Alifix, UTIutility, Sparsity, alisma
  • Revisionist & DeepTools
  • Text Utilities: Nalaprop, Dystextia and others
  • PDF
  • Keychains & Permissions
  • LockRattler: 10.15 Catalina
  • Updates
  • Spundle, Cormorant, Stibium, Dintch, Fintch and cintch
  • Long Reads
  • Mac Troubleshooting Summary
  • LockRattler: 11.0 Big Sur
  • M1 & M2 Macs
  • Mints: a multifunction utility
  • LockRattler: 12.x Monterey
  • VisualLookUpTest
  • Virtualisation on Apple silicon
  • LockRattler: 13.x Ventura
Secondary navigation
  • Search

Begin typing your search above and press return to search. Press Esc to cancel.

  • Follow Following
    • The Eclectic Light Company
    • Join 3,176 other followers
    • Already have a WordPress.com account? Log in now.
    • The Eclectic Light Company
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...