Welcome to Lesson 2 of the ARM Assembly Series from LaurieWired! In this lesson, we add the ADD, SUB, and MUL instructions to our repertoire. We also take a look at the different flags of the CPSR and how we can set them by adding “S“ to the instruction mnemonic. --- Timestamps: 00:00 Intro 01:18 ADD (Immediate) 05:13 ADD (Register) 07:26 SUB (Register) 09:32 MUL 10:52 CPSR (Current Program Status Register) 12:40 Setting Flags in CPSR 14:51 Result Stuck? 15:35 Binary Time 18:39 Recap --- Links Mentioned in Video: CPUlator: CPSR register: ADD immediate: ADD register MOV register: SUB register: SUB immediate: MUL: (no mul immediate) [Rd] = [Rn] * [Rm] Syscall table: /master/constants/#arm-32_bit_EABI --- laurieWIRED Twitter: laurieWIRED Website: laurieWIRED HN: laurieWIRED Reddit:
Hide player controls
Hide resume playing