added more bigcall/bigjmp as we go along with larger code.
This commit is contained in:
@@ -27,7 +27,7 @@ NETMSG_MemStats_Write:
|
||||
st X+, r16 ; src address
|
||||
|
||||
; uid
|
||||
rcall NETMSG_Common_AddUidToBuffer ; (R16, R18, R19, R20, R21)
|
||||
bigcall NETMSG_Common_AddUidToBuffer ; (R16, R18, R19, R20, R21)
|
||||
; timestamp (0 for now)
|
||||
clr r16
|
||||
st X+, r16
|
||||
@@ -53,7 +53,7 @@ NETMSG_MemStats_Write:
|
||||
; current buffers used
|
||||
push xl
|
||||
push xh
|
||||
rcall NET_Buffer_CountUsed ; (r16, r17, r18, X)
|
||||
bigcall NET_Buffer_CountUsed ; (r16, r17, r18, X)
|
||||
pop xh
|
||||
pop xl
|
||||
st X+, r16
|
||||
@@ -67,7 +67,7 @@ NETMSG_MemStats_Write:
|
||||
st X+, r16
|
||||
|
||||
sbiw xh:xl, 18 ; go back to beginning of message (1 byte dst addr, 1 byte length, 16 bytes payload)
|
||||
rcall NETMSG_CalcAndAddChecksumByte ; (R16, R17, R18, R19, R20, X)
|
||||
bigcall NETMSG_CalcAndAddChecksumByte ; (R16, R17, R18, R19, R20, X)
|
||||
sbiw xh:xl, 19 ; go back to beginning of message (1 byte dst addr, 1 byte length, 16 bytes payload, 1 byte crc)
|
||||
ret
|
||||
; @end
|
||||
|
||||
Reference in New Issue
Block a user