diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2008-10-20 17:29:23 +0000 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2008-10-20 17:29:23 +0000 |
commit | 615b85025b3ad45847ecb268d513c7a2f7f31cf2 (patch) | |
tree | a33a692bcc4ba436fea56232964cf2ebb0b98059 /usbdrv | |
parent | 378d5da5a89be0dc2c95d4d6d33d8420d5dadd6d (diff) | |
download | v-usb-615b85025b3ad45847ecb268d513c7a2f7f31cf2.tar.gz v-usb-615b85025b3ad45847ecb268d513c7a2f7f31cf2.tar.bz2 v-usb-615b85025b3ad45847ecb268d513c7a2f7f31cf2.zip |
- improved waitForJ loop by 1 instruction
Diffstat (limited to 'usbdrv')
-rw-r--r-- | usbdrv/usbdrvasm12.inc | 3 | ||||
-rw-r--r-- | usbdrv/usbdrvasm128.inc | 3 | ||||
-rw-r--r-- | usbdrv/usbdrvasm15.inc | 3 | ||||
-rw-r--r-- | usbdrv/usbdrvasm16.inc | 3 | ||||
-rw-r--r-- | usbdrv/usbdrvasm165.inc | 3 | ||||
-rw-r--r-- | usbdrv/usbdrvasm20.inc | 3 |
6 files changed, 6 insertions, 12 deletions
diff --git a/usbdrv/usbdrvasm12.inc b/usbdrv/usbdrvasm12.inc index f891ab6..3d815e7 100644 --- a/usbdrv/usbdrvasm12.inc +++ b/usbdrv/usbdrvasm12.inc @@ -52,9 +52,8 @@ USB_INTR_VECTOR: ;YL is guarenteed to be < 0x80 because I flag is clear. When we jump to ;waitForJ, ensure that this prerequisite is met. waitForJ: - sbic USBIN, USBMINUS - rjmp waitForK inc YL + sbis USBIN, USBMINUS brne waitForJ ; just make sure we have ANY timeout waitForK: ;The following code results in a sampling window of 1/4 bit which meets the spec. diff --git a/usbdrv/usbdrvasm128.inc b/usbdrv/usbdrvasm128.inc index 2dd6fe1..7cbc6e1 100644 --- a/usbdrv/usbdrvasm128.inc +++ b/usbdrv/usbdrvasm128.inc @@ -111,9 +111,8 @@ USB_INTR_VECTOR: ;YL is guarenteed to be < 0x80 because I flag is clear. When we jump to ;waitForJ, ensure that this prerequisite is met. waitForJ: - sbic USBIN, USBMINUS - rjmp waitForK inc YL + sbis USBIN, USBMINUS brne waitForJ ; just make sure we have ANY timeout waitForK: ;The following code results in a sampling window of 1/4 bit which meets the spec. diff --git a/usbdrv/usbdrvasm15.inc b/usbdrv/usbdrvasm15.inc index a315eae..1232018 100644 --- a/usbdrv/usbdrvasm15.inc +++ b/usbdrv/usbdrvasm15.inc @@ -47,9 +47,8 @@ USB_INTR_VECTOR: ;YL is guarenteed to be < 0x80 because I flag is clear. When we jump to ;waitForJ, ensure that this prerequisite is met. waitForJ: - sbic USBIN, USBMINUS - rjmp waitForK inc YL + sbis USBIN, USBMINUS brne waitForJ ; just make sure we have ANY timeout ;------------------------------------------------------------------------------- ; The following code results in a sampling window of < 1/4 bit diff --git a/usbdrv/usbdrvasm16.inc b/usbdrv/usbdrvasm16.inc index b59f74d..36fae4a 100644 --- a/usbdrv/usbdrvasm16.inc +++ b/usbdrv/usbdrvasm16.inc @@ -45,9 +45,8 @@ USB_INTR_VECTOR: ;YL is guarenteed to be < 0x80 because I flag is clear. When we jump to ;waitForJ, ensure that this prerequisite is met. waitForJ: - sbic USBIN, USBMINUS - rjmp waitForK inc YL + sbis USBIN, USBMINUS brne waitForJ ; just make sure we have ANY timeout waitForK: ;The following code results in a sampling window of < 1/4 bit which meets the spec. diff --git a/usbdrv/usbdrvasm165.inc b/usbdrv/usbdrvasm165.inc index acad899..2ebf321 100644 --- a/usbdrv/usbdrvasm165.inc +++ b/usbdrv/usbdrvasm165.inc @@ -50,9 +50,8 @@ USB_INTR_VECTOR: ;YL is guarenteed to be < 0x80 because I flag is clear. When we jump to ;waitForJ, ensure that this prerequisite is met. waitForJ: - sbic USBIN, USBMINUS - rjmp waitForK inc YL + sbis USBIN, USBMINUS brne waitForJ ; just make sure we have ANY timeout waitForK: ;The following code results in a sampling window of < 1/4 bit which meets the spec. diff --git a/usbdrv/usbdrvasm20.inc b/usbdrv/usbdrvasm20.inc index ebe14e2..fe618f6 100644 --- a/usbdrv/usbdrvasm20.inc +++ b/usbdrv/usbdrvasm20.inc @@ -61,9 +61,8 @@ USB_INTR_VECTOR: ;YL is guarenteed to be < 0x80 because I flag is clear. When we jump to ;waitForJ, ensure that this prerequisite is met. waitForJ: - sbic USBIN, USBMINUS - rjmp waitForK inc YL + sbis USBIN, USBMINUS brne waitForJ ; just make sure we have ANY timeout waitForK: ;The following code results in a sampling window of < 1/4 bit which meets the spec. |