home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / utils / asmutl / buffers.lbr / NXTOUT.MZC / NXTOUT.MAC
Encoding:
Text File  |  1987-01-14  |  512 b   |  16 lines

  1.     extrn    .fcwild, .fncpy
  2. ;
  3. ; next output file name.  Copy hl^ to de^, then update from
  4. ; bc^.  Thus all wild areas in entry hl^ are filled in with
  5. ; the actual chars in entry bc^.  For wild card copy operations
  6. ; normally bc is the input fcb, hl the output pattern (with
  7. ; wild cards), and de points to the actual output fcb.
  8. ; a,f
  9. .nxtout::
  10.     call    .fncpy
  11.     push    h
  12.     mov h,b    ! mov l,c
  13.     call    .fcwild;    update wild fields
  14.     pop    h
  15.     ret
  16. ìN