summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire/mpio/hd200/lcd-as-hd200.S
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-05-17 12:34:59 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-05-17 12:34:59 +0000
commitcce9c17902b8af334bafe3482210580351569b72 (patch)
tree72e8b8a6531c97cc3f14e009ca0986a9bcacaa9c /firmware/target/coldfire/mpio/hd200/lcd-as-hd200.S
parentfcf36dd4f9879a82342e5606535d2dcf46d1de2a (diff)
downloadrockbox-cce9c17902b8af334bafe3482210580351569b72.tar.gz
rockbox-cce9c17902b8af334bafe3482210580351569b72.zip
HD200 minor lcd asm routines adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26102 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/mpio/hd200/lcd-as-hd200.S')
-rw-r--r--firmware/target/coldfire/mpio/hd200/lcd-as-hd200.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/coldfire/mpio/hd200/lcd-as-hd200.S b/firmware/target/coldfire/mpio/hd200/lcd-as-hd200.S
index 12f2cb7f94..7ea0b8f921 100644
--- a/firmware/target/coldfire/mpio/hd200/lcd-as-hd200.S
+++ b/firmware/target/coldfire/mpio/hd200/lcd-as-hd200.S
@@ -72,10 +72,10 @@ lcd_write_command_e:
lcd_write_data:
movem.l (4, %sp), %a0 /* Data pointer */
move.l (8, %sp), %d0 /* Length i in words */
- lea LCD_BASE_ADDRESS+2, %a1 /* LCD data port address */
+ lea.l LCD_BASE_ADDRESS+2, %a1 /* LCD data port address */
btst #0, %d0 /* longwords multiply? */
- beq .l_write
+ jeq .l_write
.w_write:
move.w (%a0)+, %d1 /* load data 3 cycles*/
@@ -83,7 +83,7 @@ lcd_write_data:
lsr.l #8, %d1 /* load second byte 1 cycle*/
move.w %d1, (%a1) /* transfer 1 cycle*/
subq.l #1, %d0 /* decrement counter 1 cycle*/
- beq .write_end
+ jeq .write_end
.l_write:
move.l (%a0)+, %d1 /* load data 2 cycles*/
@@ -96,7 +96,7 @@ lcd_write_data:
lsr.l #8, %d1 /* 1 cycle */
move.w %d1, (%a1) /* forth byte 1 cycle*/
subq.l #2, %d0 /* decrement counter 1 cycle*/
- bne .l_write
+ bne.s .l_write
.write_end:
rts
@@ -169,7 +169,7 @@ lcd_grey_data:
move.w %d1, (%a3) /* transfer to lcd */
cmp.l %a2, %a1
- bls .ph_loop
+ bls.s .ph_loop
movem.l (%sp), %a2-%a3
lea.l (2*4, %sp), %sp