?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1.         OUTPUT "macro_inhibitor_operator.bin"
  2.  
  3. djnz    MACRO   arg1?
  4.             dec c
  5.             jr  nz,arg1?
  6.             @djnz arg1? ; avoid self-reference and use real instruction
  7.         ENDM
  8.  
  9. 1:      djnz    1B      ; macro replacement
  10. 1:      @djnz   1B      ; original djnz instruction
  11. 1:      @ djnz  1B      ; can be space separated
  12. @label  djnz    label   ; this "@" belongs to the label, macro expanded
  13.         djnz    @label
  14. @label2 @djnz   label2  ; this is original djnz instruction
  15.         @djnz   @label2
  16.  
  17. db      MACRO   arg1?
  18.             dw  arg1?
  19.         ENDM
  20.  
  21.         db      0x1234  ; macro replacement
  22.         @db     0x35    ; original db directive
  23.         @ db    0x36    ; can be space separated
  24.