?login_element?

Subversion Repositories NedoOS

Rev

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

  1. #ifndef included_swapbuf
  2. #define included_swapbuf
  3. swapbuf:
  4. ;HL and DE point to the buffers to swap
  5. ;BC is the number of bytes
  6. ;Destroys A
  7.   ld a,(de)
  8.   ldi
  9.   dec hl
  10.   ld (hl),a
  11.   inc hl
  12.   jp pe,swapbuf
  13.   ret
  14. #endif
  15.