home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / simtel / sigm / vols000 / vol075 / gz80.lib < prev    next >
Text File  |  1984-04-29  |  1KB  |  55 lines

  1. nz      equ     20h
  2. z       equ     28h
  3. nc      equ     30h
  4. k       equ     38h
  5. bc      equ     0
  6. de      equ     1
  7. hl      equ     2
  8. sptr    equ     3
  9.  
  10. djnz    macro   lab
  11.         db      010h
  12.         db      lab-$-1
  13.         endm
  14. jr      macro   cond,lab
  15.         if      not nul cond
  16.         db      cond
  17.         endif
  18.         if      nul cond
  19.         db      18h
  20.         endif
  21.         db      lab-$-1
  22.         endm
  23. ldiy    macro   reg,offset
  24.         db      0fdh
  25.         db      (046h) or (reg shl 3)
  26.         db      offset
  27.         endm
  28. stiy    macro   reg,offset
  29.         db      0fdh
  30.         db      (070h) or (reg)
  31.         db      offset
  32.         endm
  33. stiyi   macro   val,offset
  34.         db      0fdh
  35.         db      036h
  36.         db      offset
  37.         db      val
  38.         endm
  39. sla     macro   reg
  40.         db      0cbh
  41.         db      (020h) or (reg)
  42.         endm
  43. rl      macro   reg
  44.         db      0cbh
  45.         db      (010h) or (reg)
  46.         endm
  47. inputr  macro   reg
  48.         db      0edh
  49.         db      (040h) or (reg shl 3)
  50.         endm
  51. sbchl   macro   reg
  52.         db      0edh
  53.         db      (042h) or (reg shl 4)
  54.         endm
  55.