home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / MBUG / MBUG099.ARC / INVERSE.I < prev    next >
Text File  |  1979-12-31  |  896b  |  21 lines

  1. Procedure Inverse;
  2.  
  3. Begin
  4.   Inline($3E/1/       {       LD     A,1        }
  5.          $D3/$0B/     {       OUT    (11),A     }
  6.          $11/$F800/   {       LD     DE,0F800H  }
  7.          $21/$F000/   {       LD     HL,0F000H  }
  8.          1/$800/      {       LD     BC,00800H  }
  9.          $7E/         { LOOP  LD     A,(HL)     }
  10.          $2F/         {       CPL               }
  11.          $12/         {       LD     (DE),A     }
  12.          $13/         {       INC    DE         }
  13.          $23/         {       INC    HL         }
  14.          $0B/         {       DEC    BC         }
  15.          $79/         {       LD     A,C        }
  16.          $B0/         {       OR     B          }
  17.          $20/$F6/     {       JR     NZ,LOOP    }
  18.          $AF/         {       XOR    A          }
  19.          $D3/$0B);    {       OUT    (11),A     }
  20. End;
  21.