Menu

See.fs (in the FF 5.0.zip distribution) switches to base hex?

2025-07-11
2025-07-13
  • Fred Zelders

    Fred Zelders - 2025-07-11

    I noticed that when using the 'decompiler' see.fs (part of the FF 5.0 distribution) the base is set to hex.
    After see is finished the base is not recovered to the base that was in use before see was called/executed.

    Please explain why.

    see
    ' cr hex
    begin
    dup u.4
    dup cf@ u.4 u.4
    (see) cr
    dup 0= \ dup and 0= will be optimised away
    until
    drop
    ;

    -FredZ

     
  • Mikael Nordman

    Mikael Nordman - 2025-07-12

    Why. No special reason, except when I debug and need SEE (and DUMP) I want to work in hex.
    And the FF standard prompt always shows you the current base. The scamp does not, so more chance for confusion there.
    But you can change it to your liking.

     
    👍
    1
  • Fred Zelders

    Fred Zelders - 2025-07-13

    Thank you Mikael.

     
  • Fred Zelders

    Fred Zelders - 2025-07-13
     
    👍
    1

    Last edit: Fred Zelders 2025-07-14

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.