News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

FTree.asm example

Started by HSE, January 27, 2021, 08:42:26 AM

Previous topic - Next topic

HSE

Apparently this procedure was not very well tested in year 2005, I think.

Must be :file_tree proc lpcb:DWORD,upatn:DWORD,flag:DWORD
      * * *

    .if flag > 1  ; flag controlled tail recursion
                     ;  <<<< original say "flag > 0"

      chdir ".."   ; drop back to next lower directory
    .endif
    ret
file_tree endp


Regards, HSE.
Equations in Assembly: SmplMath