Node:Common Disassembler, Next:, Previous:Common Assembler, Up:Assembler and Code Words



Common Disassembler

You can disassemble a code word with see (see Debugging). You can disassemble a section of memory with

doc-disasm

The disassembler generally produces output that can be fed into the assembler (i.e., same syntax, etc.). It also includes additional information in comments. In particular, the address of the instruction is given in a comment before the instruction.

See may display more or less than the actual code of the word, because the recognition of the end of the code is unreliable. You can use disasm if it did not display enough. It may display more, if the code word is not immediately followed by a named word. If you have something else there, you can follow the word with align latest , to ensure that the end is recognized.