SHARE
TWEET

Untitled

a guest Apr 29th, 2010 168 Never
  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
RAW Paste Data
Top