This commit is contained in:
Miloslav Ciz 2024-02-13 21:57:06 +01:00
parent a5acdddb82
commit 57c8d33e04
15 changed files with 1717 additions and 1668 deletions

View file

@ -36,6 +36,8 @@ Instructions are typically written as three-letter abbreviations and follow some
- **CMP** (compare): compare two numbers and set relevant flags (typically for a subsequent conditional jump).
- ...
[Fun](fun.md) note: `HCF` -- *halt and catch fire* -- is a humorous nickname for instructions that just stop the CPU and wait for restart.
## How To
On [Unices](unix.md) the [objdump](objdump.md) utility from GNU binutils can be used to **disassemble** compiled programs, i.e view the instructions of the program in assembly (other tools like ndisasm can also be used). Use it e.g. as: