Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 29th, 2010  |  syntax: None  |  size: 0.33 KB  |  views: 167  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. lcd_mono_data:
  2.     move.l  (4, %sp), %a0       /* p_bytes */
  3.     move.l  (8, %sp), %d0       /* count */
  4.     lea.l   LCD_BASE_ADDRESS+2, %a1  /* LCD data port address */
  5.  
  6. .md_loop:
  7.     move.b  (%a0)+, %d1
  8.     move.w  %d1, (%a1)    /* byte transfers actually */
  9.     move.w  %d1, (%a1)
  10.     subq.l  #1, %d0
  11.     bne.s   .md_loop
  12.     rts