| ??? 05/22/01 10:29 Read: times |
#11827 - RE: an efficient parity generation scheme ? |
Tommy look for these examples:
; Contrôle de la parité d'un octet reçu. PUSH ACC CLR ACC.7 ; ;Efface le bit de poids fort (parité) ADD A,#0 ; ;Calcul de la parité théorique MOV C,PSW.0 CPL C ; ;Parité impaire MOV ACC.7,C POP B CJNE A,B,PRCDHS ; ;Comparaison réception et calcul LJMP PRCDOK PRCDHS SETB B_ERR_RCD ; ;Parité érronée. PRCDOK CLR ACC.7 ::::::::::::::::::::::::::::::::::: ; Génération de la parité CLR ACC.7 ADD A,#00H MOV C,PSW.0 CPL C ;Parité Impaire MOV ACC.7,C MOV SBUF,A RET Have fun sorry for french comments Vincent |
| Topic | Author | Date |
| an efficient parity generation scheme ? | 01/01/70 00:00 | |
| RE: an efficient parity generation scheme ? | 01/01/70 00:00 | |
| RE: an efficient parity generation scheme ? | 01/01/70 00:00 | |
| RE: an efficient parity generation schem | 01/01/70 00:00 | |
| RE: an efficient parity generation schem | 01/01/70 00:00 | |
| RE: an efficient parity generation schem | 01/01/70 00:00 | |
| RE: an efficient parity generation schem | 01/01/70 00:00 | |
| RE: an efficient parity generation schem | 01/01/70 00:00 | |
| RE: an efficient parity generation schem | 01/01/70 00:00 | |
| RE: an efficient parity generation schem | 01/01/70 00:00 | |
| RE: an efficient parity generation schem | 01/01/70 00:00 | |
| Re: mysterious bit named "P" | 01/01/70 00:00 | |
RE: an efficient parity generation scheme ? | 01/01/70 00:00 |



