VFX Forth includes a disassembler for debugging purposes. Native code built by the system can be viewed at the machine code level. FIX DATA SIZE STUFF HERE
: ft-init-dis \ from to -- ; initialise disassembly
Initialise the disassembly range before using (DASM).
: al-init-dis \ addr len -- ; initialise disassembly
Initialise the disassembly range before using (DASM).
: 1DISASM \ --
Disassemble the next instruction. The range has already been set.
: (dasm) \ --
Disassemble a block of code whose range has already been set.
: disasm/f \ addr --
Disassemble memory starting at ADDR.
: disasm/ft \ from to --
Disassemble memory between the memory addresses FROM and TO.
: DISASM/al \ addr len --
Disassemble LEN bytes of code starting at memory address ADDR. )
: dasm \ -- ; DASM <word>
Disassemble a given definition.