add comments.
This commit is contained in:
@@ -27,19 +27,19 @@
|
|||||||
; @return R25:R24 message id
|
; @return R25:R24 message id
|
||||||
|
|
||||||
NETMSG_ValueRead:
|
NETMSG_ValueRead:
|
||||||
adiw xh:xl, 2
|
adiw xh:xl, 2 ; skip DEST, LEN 0
|
||||||
ld r23, X+ ; command
|
ld r23, X+ ; command 2
|
||||||
ld r22, X+ ; src address
|
ld r22, X+ ; src address 3
|
||||||
adiw xh:xl, 4 ; skip uid
|
adiw xh:xl, 4 ; skip uid 4 ( 0)
|
||||||
ld r24, X+ ; msg id (low)
|
ld r24, X+ ; msg id (low) 8 ( 4)
|
||||||
ld r25, X+ ; msg id (high)
|
ld r25, X+ ; msg id (high) 9 ( 5)
|
||||||
ld r17, X+ ; value id
|
ld r17, X+ ; value id 10 ( 6)
|
||||||
adiw xh:xl, 1 ; skip value type
|
adiw xh:xl, 1 ; skip value type 11 ( 7)
|
||||||
ld r18, X+ ; value (low)
|
ld r18, X+ ; value (low) 12 ( 8)
|
||||||
ld r19, X+ ; value (high)
|
ld r19, X+ ; value (high) 13 ( 9)
|
||||||
ld r20, X+ ; denom (low)
|
ld r20, X+ ; denom (low) 14 (10)
|
||||||
ld r21, X+ ; denom (high)
|
ld r21, X+ ; denom (high) 15 (11)
|
||||||
sbiw xh:xl, 16 ; back to msg begin
|
sbiw xh:xl, 16 ; back to msg begin 16 (12)
|
||||||
ret
|
ret
|
||||||
; @end
|
; @end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user