salve non riesco proprio a capire cosa fa questo comando dovrebbe essere retLw e non retW....
il microntrollore dovrebbe leggere un segnale seriale e convertirlo sempre in un segnale seriale per una com232...io devo dedurre da questo listato il proctocollo seriale sorgente ma non riesco proprio a capire la funzione retW quasi certamente quella è la chiave per la mia risoluzione...grazie per eventuali risposte ^__^
[...]
:Skip2
cjne Btn, LastBtn, :Skip3
cjne LastBtn, LastBt2, :Skip3
cjne LastBt2, LastBt3, :Skip3
mov W, Btn
jmp PC+W
jmp :Btn0
jmp :Btn1
jmp :Btn2
jmp :Btn3
jmp :Btn4
jmp :Btn5
jmp :Btn6
jmp :Btn7
jmp :Btn8
jmp :Btn9
[...]
CHE DOVREBBE PUNTARE POI A....
ResTbl jmp PC+W
retw 00h, 000h ; Above this is Power 0
retw 00h, 017h ; Above this is Source 1
retw 00h, 043h ; Above this is ATT 2 (mute)
retw 00h, 070h ; Above this is Front 3 (list/disp)
retw 00h, 09Eh ; Above this is Seek Dn 4 (seek up)
retw 00h, 0D6h ; Above this is Seek Up 5 (seek dn)
retw 01h, 026h ; Above this is Vol Dn 6 (vol up)
retw 01h, 09Ah ; Above this is Vol Up 7 (vol dn)
retw 02h, 042h ; Above this is Back 8 (select)
retw 03h, 03Dh ; Above this is Bottom 9 (mode)




































Prima di tutto che microcontrollore è? Microchip? motorola? altera?
Sembra che la retw ritorni un comando definito nella seconda colonna (000h, 017h, etc) nel registro di memoria indicato dalla prima colonna.