OEL TTX2000 Issue 2.3 | Routines |
Prev: 14AA | Up: Map | Next: 14BB |
Used by the routine at init_hamming_table.
|
||||
correct_and_store_nibble | 14AE | PUSH HL | Preserve HL. | |
14AF | LD B,$00 | Add value in C as offset to address of look up table at hamming_error_bits_table. | ||
14B1 | LD HL,hamming_error_bits_table | |||
14B4 | ADD HL,BC | |||
14B5 | LD B,(HL) | Load appropriate byte from table into B. | ||
14B6 | POP HL | Restore HL and XOR byte at address in HL with B and return. | ||
14B7 | LD A,(HL) | |||
14B8 | XOR B | |||
14B9 | LD (HL),A | |||
14BA | RET |
Prev: 14AA | Up: Map | Next: 14BB |