User Tools

Site Tools


en:pfw:disassemblers_rp2040-assembler

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:pfw:disassemblers_rp2040-assembler [2023-09-04 18:12] – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1en:pfw:disassemblers_rp2040-assembler [2023-10-02 17:01] (current) – [Disassemblers] willem
Line 1: Line 1:
 +{{pfw:banner.png}}
 +====== Disassemblers ======
  
 +  * [[https://www.dropbox.com/s/vskoqoxn3kme4ek/RP2040-das%20uni.f?dl=0|RP2040 disassembler]], compact universal RP2040 disassembler.\\
 +Note that the check on CFA's in ''%%skip-cfa%%'' is only correct for ITC code.\\
 +For other systems this word need adaptation.\\
 +
 +  * [[https://www.dropbox.com/s/0ubyr344j7a1q7k/noForth-T-das.f?dl=0|noForth, resident noForth disassembler]].
 +
 +An example of its use, disassemble ''%%DUP%%'', ''%%?DUP%%'' & ''%%DROP%%'' in noForth:
 +
 +<code>
 +das dup
 +  20000EDC:    1F09  sp 4 # subs
 +  20000EDE:  ` 600B  tos sp 0 #) str
 +  20000EE0:    C804  ip { w } ldm
 +  20000EE2:    CA10  w { hop } ldm
 +  20000EE4:  F 46A7  pc hop mov
 +name ?DUP
 +  20000EF8:  + 2B00  tos 0 # cmp
 +  20000EFA:    D1EF  -22 to 20000EDC bne
 +  20000EFC:    C804  ip { w } ldm
 +  20000EFE:    CA10  w { hop } ldm
 +  20000F00:  F 46A7  pc hop mov
 +name DROP
 +  20000F14:    C908  sp { tos } ldm
 +  20000F16:    C804  ip { w } ldm
 +  20000F18:    CA10  w { hop } ldm
 +  20000F1A:  F 46A7  pc hop mov
 +</code>
 +
 +^Command     ^Example            ^Purpose                              ^
 +|''%%DAS%%'' |''%%DAS DUP%%''    |Disassemble from the word ''%%DUP%%''|
 +|''%%MDAS%%''|''%%<addr> MDAS%%''|Disassemble from ''%%<addr>%%''      |
 +
 +Each time the space bar is hit, a new line is disassembled. When any other key is hit the disassembly stops!
 +Note that the noForth version is slightly more advanced. It recognizes a header and prints its name.
 +===== Contributions =====
 +
 +<html><h2 style="background-color:yellow">Alternative Implementations</h2></html>
 +
 +
 +[[en:pfw:welcome|Back to PFW page]]