dlcd_show(LCD_S1_SELECT);
9000:	79 03 ef 49       mov.w	#0xef49,r3
9004:	7d 30 70 00       bset	#0x0,@r3

lcd_show(s1_select);
9000:	79 03 30 08       mov.w	#0x3008,r3
9004:	6d f6             mov.w	r6,@-e7
9006:	0d 36             mov.w	r3,r6
9008:	5e 00 1b 62       jsr	@0x1b62:0
900c:	6d 76             mov.w	@r7+,r6

Example 2: Direct LCD manipulation versus ROM calls.

Back to Article
Copyright © 1999, Dr. Dobb's Journal