avr: fixed comments.

This commit is contained in:
Martin Preuss
2026-03-20 22:28:09 +01:00
parent 1f801c41a1
commit c2dc819aec

View File

@@ -57,7 +57,7 @@ Main_HandleValueMsg:
push r22 push r22
push r24 push r24
push r25 push r25
rcall mainFindEntryForValueMsg ; CF set: r25:r24=routine (r16, r22, r24, r25, Z) rcall mainFindEntryForValueMsg ; CF set: Z=routine (r16, r22, r24, r25, Z)
pop r25 pop r25
pop r24 pop r24
pop r22 pop r22
@@ -95,7 +95,7 @@ Main_HandleValueMsg_ret:
mainFindEntryForValueMsg: mainFindEntryForValueMsg:
mainFindEntryForValueMsg_loop: mainFindEntryForValueMsg_loop:
lpm r16, Z+ ; address lpm r16, Z+ ; command
lpm r22, Z+ ; value id lpm r22, Z+ ; value id
lpm r24, Z+ ; routine lo lpm r24, Z+ ; routine lo
lpm r25, Z+ ; routine hi lpm r25, Z+ ; routine hi
@@ -104,7 +104,7 @@ mainFindEntryForValueMsg_loop:
tst r25 tst r25
breq mainFindEntryForValueMsg_notFound breq mainFindEntryForValueMsg_notFound
mainFindEntryForValueMsg_l0: mainFindEntryForValueMsg_l0:
tst r16 ; node addr tst r16 ; command
breq mainFindEntryForValueMsg_l1 breq mainFindEntryForValueMsg_l1
cp r16, r23 cp r16, r23
brne mainFindEntryForValueMsg_next brne mainFindEntryForValueMsg_next