diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2008-10-20 09:08:11 +0000 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2008-10-20 09:08:11 +0000 |
commit | ba8ebf1ff0477f74670fd67132d319cf3eb5a022 (patch) | |
tree | d12e40e08288e5d54ca5ed0403ab8051aec8f7d7 /usbdrv/usbdrvasm128.inc | |
parent | 59f9c031838979f39adc87a612b4dc2386c9265f (diff) | |
download | v-usb-ba8ebf1ff0477f74670fd67132d319cf3eb5a022.tar.gz v-usb-ba8ebf1ff0477f74670fd67132d319cf3eb5a022.tar.bz2 v-usb-ba8ebf1ff0477f74670fd67132d319cf3eb5a022.zip |
- optimization: 3 x nop2 = 2 x lpm
Diffstat (limited to 'usbdrv/usbdrvasm128.inc')
-rw-r--r-- | usbdrv/usbdrvasm128.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usbdrv/usbdrvasm128.inc b/usbdrv/usbdrvasm128.inc index 3f21e19..8b19d69 100644 --- a/usbdrv/usbdrvasm128.inc +++ b/usbdrv/usbdrvasm128.inc @@ -648,9 +648,8 @@ skipAddrAssign: cbr x2, USBMASK ;[07] set both pins to input mov x3, x1 ;[08] cbr x3, USBMASK ;[09] configure no pullup on both pins - nop2 ;[10] - nop2 ;[12] - nop2 ;[14] + lpm ;[10] + lpm ;[13] out USBOUT, x1 ;[16] <-- out J (idle) -- end of SE0 (EOP signal) out USBDDR, x2 ;[17] <-- release bus now out USBOUT, x3 ;[18] <-- ensure no pull-up resistors are active |