Ahmed Goudaahmedgouda.hashnode.dev·Aug 6, 2024Assembly Arithmetic and Logic InstructionData processing instructions can be classified into seven categories: Arithmetic Instructions Reorder Instructions Extension Instructions Bitwise Logic Instructions Shift Instructions Comparison Instructions Data Copy Instructions Program St...47 readsEmbedded SystemsEmbedded Systems with ARM Cortex-M
Ahmed Goudaahmedgouda.hashnode.dev·Jul 8, 2024Structure of an Assembly ProgramAssembly Program The below assembly program copies a string to another string. An assembly program includes: labels directives assembly instructions program comments Labels A label, such as strcpy, stop, srcStr, and dstStr, represents the memo...47 readsEmbedded SystemsEmbedded Systems with ARM Cortex-M
Ahmed Goudaahmedgouda.hashnode.dev·Jul 6, 2024From C to AssemblyGoing from C to Assembly Before we study the syntax (grammar) and semantics (meaning) of assembly instructions, let us first examine the key differences between C and assembly. C, like many other high-level programming languages, makes powerful abstr...31 readsEmbedded SystemsEmbedded Systems with ARM Cortex-M
Ahmed Goudaahmedgouda.hashnode.dev·Jul 6, 2024ARM Architecture and Instruction SetsHistory of ARM Architecture and Instruction Sets ARM Assembly Instruction Sets ARM processors support mainly four different assembly instruction sets: Thumb Thumb-2 ARM32 ARM64 Thumb The objective of the Thumb instruction set is to improve the...64 readsEmbedded SystemsEmbedded Systems with ARM Cortex-M
Ahmed Goudaahmedgouda.hashnode.dev·Jun 4, 2024Data Representation and OverflowComputers store data as a sequence of binary bits. Bit, Byte, Halfword, Word, and Double-word A Bit is the smallest quantity of information. Each bit has a value of either one or zero, and thus it is called a binary bit. However, it is more efficien...Embedded SystemsEmbedded Systems with ARM Cortex-M
Ahmed Goudaahmedgouda.hashnode.dev·Jun 3, 2024How a Program RunsTranslate a C Program into a Machine Program Compilers Compilers translate a human-readable source program written in a high-level programming language, such as C, into a low-level machine-understandable executable file encoded in binary form. Execut...126 readsEmbedded SystemsEmbedded Systems with ARM Cortex-M