From 0f024642bf9a9971eeb3469e5ab58e43c564298d Mon Sep 17 00:00:00 2001 From: Christian Starkjohann Date: Fri, 17 Oct 2008 17:25:00 +0000 Subject: - fixed comments --- usbdrv/usbdrvasm12.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usbdrv') diff --git a/usbdrv/usbdrvasm12.inc b/usbdrv/usbdrvasm12.inc index c1fab2f..389dbb7 100644 --- a/usbdrv/usbdrvasm12.inc +++ b/usbdrv/usbdrvasm12.inc @@ -297,8 +297,8 @@ usbSendX3: ;0 [-16] ;usbSend: ;pointer to data in 'Y' ;number of bytes in 'cnt' -- including sync byte -;uses: x1...x3, shift, cnt, Y [x1 = mirror USBOUT, x2 = USBMASK, x3 = bitstuff cnt] -;Numbers in brackets are time since first bit of sync pattern is sent +;uses: x1...x2, x4, shift, cnt, Y [x1 = mirror USBOUT, x2 = USBMASK, x4 = bitstuff cnt] +;Numbers in brackets are time since first bit of sync pattern is sent (start of instruction) usbSendAndReti: in x2, USBDDR ;[-12] 12 cycles until SOP ori x2, USBMASK ;[-11] @@ -325,7 +325,7 @@ doExorN2: ldi x4, 6 ;[05] [13] commonN2: nop ;[06] [14] - subi cnt, 171 ;[07] [15] + subi cnt, 171 ;[07] [15] trick: (3 * 171) & 0xff = 1 out USBOUT, x1 ;[08] [16] <--- set bit brcs txBitloop ;[09] [25] [41] -- cgit v1.2.3