From eb77cd1577fdf1640474cc960a6c27b4394e37c5 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 10 Feb 2024 15:04:03 +0100 Subject: [PATCH] Added target for viewing the generated assembly --- makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/makefile b/makefile index 5a7ee9f..6ba8d24 100644 --- a/makefile +++ b/makefile @@ -43,6 +43,10 @@ flash: $(TARGET).hex qemu: $(TARGET).elf qemu-system-avr -machine $(QEMU_MACHINE_NAME) -bios $(TARGET).elf +# View the generated assembly +asm: $(TARGET).hex + avr-objdump -S $(TARGET).elf + # Clean clean: rm -f $(OBJS) $(TARGET).elf $(TARGET).hex