How would you use inline assembly, compiler optimization flags, or custom memory allocators in low-level firmware development?