July 2025
Beginner
528 pages
13h 18m
English
As we learnt in the previous two chapters, computing operations are performed on the registers, while the actual data in the program resides in the memory. Therefore, the processor needs the capability to load data from the memory into its registers and store the computed data back into the memory. Cortex-M0, with its 32-bit data bus and 32-bit registers, can transfer a byte, a 16-bit half-word, or a 32-bit word in a single instruction. Accordingly, the instruction set includes instructions to load or store a byte, half-word and a word.
Figure 7.1 Byte, half-word and word stored at address A.
Figure 7.1 shows a byte, half-word and a ...
Read now
Unlock full access