?login_element?

Subversion Repositories NedoOS

Rev

Rev 126 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1.     OUTPUT "op_40_7F_no_lua.bin"
  2.  
  3.     ;;; generate all 40..7F instructions (all common `ld xx,yy` variants + halt)
  4.     DEFARRAY registers b, c, d, e, h, l, (hl), a
  5. R1=0
  6.     DUP 8
  7. R2=0
  8.         DUP 8
  9.             IF R1==6 && R2==6
  10.                 halt
  11.             ELSE
  12.                 ld  registers[R1],registers[R2]
  13.             ENDIF
  14. R2=R2+1
  15.         EDUP
  16. R1=R1+1
  17.     EDUP
  18.