Author Topic: FTree.asm example  (Read 454 times)

HSE

  • Member
  • *****
  • Posts: 1704
  • <AMD>< 7-32>
FTree.asm example
« on: January 27, 2021, 08:42:26 AM »
Apparently this procedure was not very well tested in year 2005, I think.

Must be :
Code: [Select]
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.