From 77fab0f4c079a663d660669b633a1bf837caf608 Mon Sep 17 00:00:00 2001 From: Andrey Miroshnikov Date: Tue, 15 Aug 2023 09:53:05 +0000 Subject: [PATCH] microwatt.mdwn: Fix section on disassembly. --- HDL_workflow/microwatt.mdwn | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/HDL_workflow/microwatt.mdwn b/HDL_workflow/microwatt.mdwn index fa0d35183..c4eb1e846 100644 --- a/HDL_workflow/microwatt.mdwn +++ b/HDL_workflow/microwatt.mdwn @@ -139,9 +139,12 @@ begin): `-h` shows just the section headers, `-x` shows all headers. And to view the disassembly (great for learning about the PowerISA instructions, -and for associating the binary hex with actual instructions): +and for associating the binary hex with actual instructions), you can view the +automatically generated `hello_world.as` file. - (microwatt):$ powerpc64le-linux-gnu-objdump -d hello_world.elf +Command to generate the disassembly: + + (microwatt):$ powerpc64le-linux-gnu-objdump -D hello_world.elf For more information about `objdump` (common utility, not just for PowerISA), see the manual pages. -- 2.30.2